Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.0ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00]] [1m[36m (15.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00]] [1m[35m (5.3ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00]] [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00], ["deleter_id", 3], ["deleter_type", "DummyUser"], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 01:29:54.804348' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 01:29:54 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-03-14 01:29:55.812929' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:55 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:55 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:55 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:55 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:55 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:55 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:55 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:55 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:55 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:55 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:55 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 01:29:55 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-03-14 01:29:56.838478' WHERE "commontator_comments"."id" = 1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00]] [1m[36m (9.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00]] [1m[35m (4.9ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00]] [1m[36m (5.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1[0m [1m[35m (5.4ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00]] [1m[36m (4.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00]] [1m[35m (4.6ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00]] [1m[36m (5.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 3], ["updated_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (5.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00]] [1m[36m (4.4ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:56 UTC +00:00]] [1m[35m (4.7ms)[0m commit transaction [1m[36mCommontator::Comment Load (0.2ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", 2]] [1m[35mCommontator::Thread Load (0.2ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1 [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mDummyUser Load (0.2ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1 [1m[36m (0.2ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 01:29:56.971623' WHERE "commontator_subscriptions"."id" = 3[0m [1m[35m (4.4ms)[0m commit transaction Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (4.8ms) Sent mail to (10ms) Date: Wed, 13 Mar 2013 20:29:57 -0500 From: no-reply@example.com Message-ID: <5141281518533_14519517e495d@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 3 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Something
Click here to visit this thread.
[1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL SQLite3::SQLException: no such column: votes.vote_scope: SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 01:29:57.179867', "updated_at" = '2013-03-14 01:29:57.180560' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m SQLite3::SQLException: no such column: votes.vote_scope: SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' Completed 500 Internal Server Error in 4ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m SQLite3::SQLException: no such column: votes.vote_scope: SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 01:29:57.238646', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 01:29:57.239195' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 01:29:57.245203' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (16.3ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 01:29:57.250261', "updated_at" = '2013-03-14 01:29:57.267175' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 01:29:57.272119' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 01:29:57.273686', "updated_at" = '2013-03-14 01:29:57.274157' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 01:29:57.277941' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-03-14 01:29:57.290791' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.2ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' SQLite3::SQLException: no such column: votes.vote_scope: SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' SQLite3::SQLException: no such column: votes.vote_scope: SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 01:29:57.420045', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 01:29:57.420632' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 01:29:57.425461' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 01:29:57.429227', "deleter_id" = 6, "updated_at" = '2013-03-14 01:29:57.429711' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 01:29:57.431756' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 01:29:57.451867', "updated_at" = '2013-03-14 01:29:57.452407' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 01:29:57.461131', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 01:29:57.461643' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 01:29:57.471026' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 01:29:57.476616', "deleter_id" = NULL, "deleter_type" = NULL, "updated_at" = '2013-03-14 01:29:57.477240' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 01:29:57.484438' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 01:29:57.485050', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 01:29:57.485528' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 01:29:57.506385', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 01:29:57.507051' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 01:29:57.515893' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m SQLite3::SQLException: no such column: votes.vote_scope: SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' Completed 500 Internal Server Error in 4ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (3.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-03-14 01:29:57.553054' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-03-14 01:29:57.553896' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 6]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 01:29:57.679667' WHERE "commontator_subscriptions"."id" = 5 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Wed, 13 Mar 2013 20:29:57 -0500 From: no-reply@example.com Message-ID: <51412815a7cde_14519517e49690@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Wed, 13 Mar 2013 20:29:57 -0500 From: no-reply@example.com Message-ID: <51412815ae3e3_14519517e4974f@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 01:29:57.785780' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 01:29:57.786786' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-03-14 01:29:57.787714' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-03-14 01:29:57.790530' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 01:29:57.800991', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-03-14 01:29:57.801537' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 01:29:57.803085' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", 4]] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "updated_at" = '2013-03-14 01:29:57.834742' WHERE "commontator_threads"."id" = 4 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-03-14 01:29:57.837284', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-03-14 01:29:57.837682' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 01:29:57.869293', "updated_at" = '2013-03-14 01:29:57.869811' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 01:29:57.896682', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-03-14 01:29:57.897154' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 01:29:57.899657' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 01:29:57.902110', "updated_at" = '2013-03-14 01:29:57.902587' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 01:29:57.909009', "updated_at" = '2013-03-14 01:29:57.909438' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 01:29:57.913312' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 01:29:57.915099', "updated_at" = '2013-03-14 01:29:57.915490' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 01:29:57.918852' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 01:29:57.925060', "updated_at" = '2013-03-14 01:29:57.925576' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 01:29:57.934787' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:29:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.0ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:15 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:15 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:15 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:15 UTC +00:00]] [1m[36m (11.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:15 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:15 UTC +00:00]] [1m[35m (4.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:15 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:15 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:15 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:15 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:15 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 01:34:15 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-03-14 01:34:16.194705' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:16 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:16 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:16 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:16 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:16 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:16 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:16 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 01:34:16 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-03-14 01:34:17.209565' WHERE "commontator_comments"."id" = 1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["deleter_id", 3], ["deleter_type", "DummyUser"], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 01:34:17.226165' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (10.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mDummyModel Load (0.2ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (6.2ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (5.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1[0m [1m[35m (5.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (5.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (4.8ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (5.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 3], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 [1m[36mDummyUser Load (0.2ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (4.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (3.7ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (4.5ms)[0m commit transaction [1m[36mCommontator::Comment Load (0.2ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", 2]] [1m[35mCommontator::Thread Load (0.2ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1 [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1 [1m[36m (0.2ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 01:34:17.364990' WHERE "commontator_subscriptions"."id" = 3[0m [1m[35m (5.4ms)[0m commit transaction Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (4.7ms) Sent mail to (10ms) Date: Wed, 13 Mar 2013 20:34:17 -0500 From: no-reply@example.com Message-ID: <5141291978c1a_14b585efe4826b3@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 3 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-03-14 01:34:17.559703' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 20ms (ActiveRecord: 1.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-03-14 01:34:17.577087' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-03-14 01:34:17.580182' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-03-14 01:34:17.585539' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "updated_at" = '2013-03-14 01:34:17.588596' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 22ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 01:34:17.668475', "updated_at" = '2013-03-14 01:34:17.669234' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 01:34:17.725097', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 01:34:17.725667' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 01:34:17.735226' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 01:34:17.740606', "deleter_id" = NULL, "deleter_type" = NULL, "updated_at" = '2013-03-14 01:34:17.741084' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 01:34:17.747161' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 01:34:17.747778', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 01:34:17.748238' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 01:34:17.759987', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 01:34:17.760491' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 01:34:17.766003' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 01:34:17.770138', "updated_at" = '2013-03-14 01:34:17.770606' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 01:34:17.774330' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 01:34:17.775782', "updated_at" = '2013-03-14 01:34:17.776235' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 01:34:17.779907' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-03-14 01:34:17.792781' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 21ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-03-14 01:34:17.866046' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-03-14 01:34:17.882349' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-03-14 01:34:17.885698' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-03-14 01:34:17.891529' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-03-14 01:34:17.894675' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-03-14 01:34:17.980711' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 01:34:18.006187', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 01:34:18.006818' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 01:34:18.012649' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 01:34:18.017459', "deleter_id" = 6, "updated_at" = '2013-03-14 01:34:18.018096' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 01:34:18.020926' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 01:34:18.025043', "updated_at" = '2013-03-14 01:34:18.025651' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 01:34:18.058993', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 01:34:18.059700' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 01:34:18.068478' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-03-14 01:34:18.086784' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 1]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 0, "cached_votes_up" = 0, "updated_at" = '2013-03-14 01:34:18.113699' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 27ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "cached_votes_down" = 1, "updated_at" = '2013-03-14 01:34:18.129708' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 2]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-03-14 01:34:18.137952' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (3.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-03-14 01:34:18.160610' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-03-14 01:34:18.161620' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 24ms (ActiveRecord: 0.6ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 6]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 01:34:18.293208' WHERE "commontator_subscriptions"."id" = 5 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Wed, 13 Mar 2013 20:34:18 -0500 From: no-reply@example.com Message-ID: <5141291a495f5_14b585efe4827ad@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Wed, 13 Mar 2013 20:34:18 -0500 From: no-reply@example.com Message-ID: <5141291a4b825_14b585efe48288a@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 01:34:18.329337' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 01:34:18.330467' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-03-14 01:34:18.331478' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-03-14 01:34:18.334295' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 01:34:18.375096', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-03-14 01:34:18.375606' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 01:34:18.376794' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", 4]] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "updated_at" = '2013-03-14 01:34:18.433263' WHERE "commontator_threads"."id" = 4 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-03-14 01:34:18.435737', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-03-14 01:34:18.436138' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 01:34:18.462048', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-03-14 01:34:18.462590' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 01:34:18.465078' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 01:34:18.468735', "updated_at" = '2013-03-14 01:34:18.469427' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 01:34:18.494910', "updated_at" = '2013-03-14 01:34:18.495362' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 01:34:18.499275' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 01:34:18.501086', "updated_at" = '2013-03-14 01:34:18.501475' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 01:34:18.505112' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 01:34:18.528049', "updated_at" = '2013-03-14 01:34:18.528460' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 01:34:18.537276' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 01:34:18.552486', "updated_at" = '2013-03-14 01:34:18.553031' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 01:34:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.0ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:00:59 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:00:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:00:59 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:00:59 UTC +00:00]] [1m[36m (42.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:00:59 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:00:59 UTC +00:00]] [1m[35m (24.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:00:59 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:00:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:00:59 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:00:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:00:59 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:00:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:00:59 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 02:00:59 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-03-14 02:01:00.256014' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:00 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:00 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:00 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:00 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:00 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:00 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:00 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:00 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:00 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:00 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:00 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 02:01:00 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-03-14 02:01:01.287026' WHERE "commontator_comments"."id" = 1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["deleter_id", 3], ["deleter_type", "DummyUser"], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 02:01:01.302669' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (35.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (6.3ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (5.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1[0m [1m[35m (14.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (3.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (4.6ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (6.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 3], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (4.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (4.3ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (3.8ms)[0m commit transaction [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", 2]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 02:01:01.460399' WHERE "commontator_subscriptions"."id" = 3[0m [1m[35m (3.8ms)[0m commit transaction Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (4.7ms) Sent mail to (10ms) Date: Wed, 13 Mar 2013 21:01:01 -0500 From: no-reply@example.com Message-ID: <51412f5d8d952_16dabaeff092469@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 3 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 02:01:01.618525', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 02:01:01.619202' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.5ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 02:01:01.625254' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 02:01:01.629119', "deleter_id" = 6, "updated_at" = '2013-03-14 02:01:01.629613' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 02:01:01.631726' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 02:01:01.634829', "updated_at" = '2013-03-14 02:01:01.635324' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 02:01:01.668648', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 02:01:01.669159' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 02:01:01.675430' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 02:01:01.679577', "updated_at" = '2013-03-14 02:01:01.680046' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 02:01:01.684379' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 02:01:01.685864', "updated_at" = '2013-03-14 02:01:01.686316' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 02:01:01.689949' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 02:01:01.722835', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 02:01:01.723357' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 02:01:01.749504' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 02:01:01.754957', "deleter_id" = NULL, "deleter_type" = NULL, "updated_at" = '2013-03-14 02:01:01.755479' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 02:01:01.761998' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 02:01:01.762622', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 02:01:01.763094' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (22.5ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-03-14 02:01:01.831657' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 1]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 0, "cached_votes_up" = 0, "updated_at" = '2013-03-14 02:01:01.840837' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "cached_votes_down" = 1, "updated_at" = '2013-03-14 02:01:01.856843' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 2]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-03-14 02:01:01.864806' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 02:01:01.905252', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 02:01:01.905943' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 02:01:01.913863' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-03-14 02:01:01.946417' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 23ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:01 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 02:01:01.999124', "updated_at" = '2013-03-14 02:01:01.999856' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-03-14 02:01:02.039823' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-03-14 02:01:02.105565' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-03-14 02:01:02.122273' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-03-14 02:01:02.125532' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-03-14 02:01:02.131228' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_up" = 0, "updated_at" = '2013-03-14 02:01:02.134464' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-03-14 02:01:02.155064' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-03-14 02:01:02.172225' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-03-14 02:01:02.175485' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-03-14 02:01:02.181728' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-03-14 02:01:02.184971' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (1.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-03-14 02:01:02.248509' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-03-14 02:01:02.249361' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 21ms (ActiveRecord: 0.4ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 6]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 02:01:02.381528' WHERE "commontator_subscriptions"."id" = 5[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Wed, 13 Mar 2013 21:01:02 -0500 From: no-reply@example.com Message-ID: <51412f5e5eec1_16dabaeff0925e4@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Wed, 13 Mar 2013 21:01:02 -0500 From: no-reply@example.com Message-ID: <51412f5e610e3_16dabaeff092624@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "commontable_id" = NULL, "updated_at" = '2013-03-14 02:01:02.477644' WHERE "commontator_threads"."id" = 4[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-03-14 02:01:02.480054', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-03-14 02:01:02.480438' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1 [["id", 4]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 02:01:02.511000' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 02:01:02.512160' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-03-14 02:01:02.513326' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-03-14 02:01:02.516930' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 02:01:02.523854', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-03-14 02:01:02.524361' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 02:01:02.525747' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 02:01:02.554045', "updated_at" = '2013-03-14 02:01:02.554579' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 02:01:02.599976', "updated_at" = '2013-03-14 02:01:02.600397' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 02:01:02.609988' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 02:01:02.619892', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-03-14 02:01:02.620445' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 02:01:02.622881' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 02:01:02.625309', "updated_at" = '2013-03-14 02:01:02.625803' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 02:01:02.632246', "updated_at" = '2013-03-14 02:01:02.632634' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 02:01:02.635839' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 02:01:02.637504', "updated_at" = '2013-03-14 02:01:02.637849' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 02:01:02.640480' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:02 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.0ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:36 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:36 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:36 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:36 UTC +00:00]] [1m[36m (33.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:36 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:36 UTC +00:00]] [1m[35m (5.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:36 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:36 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:36 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:36 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:36 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:36 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:36 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:36 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:36 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:36 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:36 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 02:01:36 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-03-14 02:01:37.579344' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:37 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:37 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:37 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:37 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:37 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:37 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:37 UTC +00:00]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:37 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Thu, 14 Mar 2013 02:01:37 UTC +00:00], ["deleter_id", 3], ["deleter_type", "DummyUser"], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 02:01:37 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 02:01:37.600011' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:37 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:37 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:37 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:37 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 02:01:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-03-14 02:01:38.607594' WHERE "commontator_comments"."id" = 1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[36m (32.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[35m (4.4ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[36m (4.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1[0m [1m[35m (4.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[36m (4.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[35m (24.2ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[36m (4.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 3], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (5.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[36m (4.6ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[35m (4.5ms)[0m commit transaction [1m[36mCommontator::Comment Load (0.2ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", 2]] [1m[35mCommontator::Thread Load (0.2ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1 [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1 [1m[36m (0.2ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 02:01:38.778990' WHERE "commontator_subscriptions"."id" = 3[0m [1m[35m (4.3ms)[0m commit transaction Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (4.7ms) Sent mail to (10ms) Date: Wed, 13 Mar 2013 21:01:38 -0500 From: no-reply@example.com Message-ID: <51412f82ddb0c_16e911987e04577f@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 3 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-03-14 02:01:38.953712' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:38 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 02:01:38.980418', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 02:01:38.980934' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 02:01:38.990320' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 02:01:38.996929', "deleter_id" = NULL, "deleter_type" = NULL, "updated_at" = '2013-03-14 02:01:38.997398' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 02:01:39.003644' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 02:01:39.004245', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 02:01:39.004704' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-03-14 02:01:39.025761' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-03-14 02:01:39.042259' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-03-14 02:01:39.045365' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-03-14 02:01:39.050758' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "updated_at" = '2013-03-14 02:01:39.053784' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 02:01:39.089725', "updated_at" = '2013-03-14 02:01:39.090516' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 02:01:39.101474', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 02:01:39.102084' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 02:01:39.108630' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 02:01:39.136057', "updated_at" = '2013-03-14 02:01:39.136587' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 02:01:39.140952' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 02:01:39.142615', "updated_at" = '2013-03-14 02:01:39.143079' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 02:01:39.146785' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 1ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-03-14 02:01:39.265415' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 26ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-03-14 02:01:39.282069' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-03-14 02:01:39.285321' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-03-14 02:01:39.291269' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-03-14 02:01:39.294374' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-03-14 02:01:39.350357' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 1]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 0, "cached_votes_up" = 0, "updated_at" = '2013-03-14 02:01:39.359607' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_up" = 0, "cached_votes_down" = 1, "updated_at" = '2013-03-14 02:01:39.375642' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 2]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-03-14 02:01:39.384623' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 27ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 02:01:39.422852', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 02:01:39.423616' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 02:01:39.433000' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 02:01:39.471182', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 02:01:39.471713' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 02:01:39.476579' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 02:01:39.480171', "deleter_id" = 6, "updated_at" = '2013-03-14 02:01:39.480763' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 02:01:39.483661' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 02:01:39.487491', "updated_at" = '2013-03-14 02:01:39.488101' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-03-14 02:01:39.547886' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (3.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-03-14 02:01:39.580480' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-03-14 02:01:39.581281' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 6]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 02:01:39.709239' WHERE "commontator_subscriptions"."id" = 5 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Wed, 13 Mar 2013 21:01:39 -0500 From: no-reply@example.com Message-ID: <51412f83aeebc_16e911987e045862@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Wed, 13 Mar 2013 21:01:39 -0500 From: no-reply@example.com Message-ID: <51412f83b1159_16e911987e04592c@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 02:01:39.763910' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 02:01:39.765155' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-03-14 02:01:39.766052' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-03-14 02:01:39.792397' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 02:01:39.799079', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-03-14 02:01:39.799602' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 02:01:39.800768' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", 4]] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "updated_at" = '2013-03-14 02:01:39.830039' WHERE "commontator_threads"."id" = 4 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-03-14 02:01:39.832253', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-03-14 02:01:39.832662' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 02:01:39.887872', "updated_at" = '2013-03-14 02:01:39.888420' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 02:01:39.918554', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-03-14 02:01:39.919207' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 21ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 02:01:39.921997' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 02:01:39.924640', "updated_at" = '2013-03-14 02:01:39.925131' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 02:01:39.931557', "updated_at" = '2013-03-14 02:01:39.931968' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 02:01:39.935662' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 02:01:39.937371', "updated_at" = '2013-03-14 02:01:39.937750' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 02:01:39.941280' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 02:01:39.947461', "updated_at" = '2013-03-14 02:01:39.947996' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 02:01:39.956605' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 02:01:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.5ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:43 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:43 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:43 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:43 UTC +00:00]] [1m[36m (30.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:43 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:43 UTC +00:00]] [1m[35m (5.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:43 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:43 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:43 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:43 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:43 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 23:48:43 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-03-14 23:48:44.618445' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:44 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:44 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:44 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:44 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:44 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:44 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:44 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:44 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:44 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 23:48:44 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-03-14 23:48:45.661469' WHERE "commontator_comments"."id" = 1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00]] [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00], ["deleter_id", 3], ["deleter_type", "DummyUser"], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 23:48:45.678005' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00]] [1m[36m (35.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00]] [1m[35m (4.6ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00]] [1m[36m (18.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1[0m [1m[35m (5.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00]] [1m[36m (4.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00]] [1m[35m (5.6ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00]] [1m[36m (5.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 3], ["updated_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (21.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00]] [1m[36m (3.8ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:45 UTC +00:00]] [1m[35m (4.4ms)[0m commit transaction [1m[36mCommontator::Comment Load (0.2ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", 2]] [1m[35mCommontator::Thread Load (0.2ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1 [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1 [1m[36m (0.2ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 23:48:45.872138' WHERE "commontator_subscriptions"."id" = 3[0m [1m[35m (4.5ms)[0m commit transaction Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (4.7ms) Sent mail to (28ms) Date: Thu, 14 Mar 2013 18:48:46 -0500 From: no-reply@example.com Message-ID: <514261de18d9_e13448fe04293a@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 3 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 23:48:46.091212', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 23:48:46.091802' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 23:48:46.096628' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 23:48:46.100490', "deleter_id" = 6, "updated_at" = '2013-03-14 23:48:46.101000' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 23:48:46.103107' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 23:48:46.106114', "updated_at" = '2013-03-14 23:48:46.106600' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 23:48:46.123221', "updated_at" = '2013-03-14 23:48:46.123900' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-03-14 23:48:46.192942' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 18ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-03-14 23:48:46.209203' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.8ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-03-14 23:48:46.235003' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-03-14 23:48:46.240719' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "updated_at" = '2013-03-14 23:48:46.243775' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-03-14 23:48:46.306661' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.6ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-03-14 23:48:46.321981' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-03-14 23:48:46.325056' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-03-14 23:48:46.330396' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-03-14 23:48:46.333416' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-03-14 23:48:46.347336' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 21ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-03-14 23:48:46.402881' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 23:48:46.428476', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 23:48:46.429007' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 23:48:46.435427' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 23:48:46.440016', "updated_at" = '2013-03-14 23:48:46.440545' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 23:48:46.445685' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 23:48:46.447481', "updated_at" = '2013-03-14 23:48:46.447996' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 23:48:46.452411' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 23:48:46.478510', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 23:48:46.479085' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 23:48:46.489845' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 23:48:46.513080', "deleter_id" = NULL, "deleter_type" = NULL, "updated_at" = '2013-03-14 23:48:46.513732' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 23:48:46.520568' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 23:48:46.521178', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 23:48:46.521658' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 5ms (ActiveRecord: 0.4ms) [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 23:48:46.565096', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 23:48:46.565788' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 23:48:46.573792' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-03-14 23:48:46.614007' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 1]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 0, "cached_votes_up" = 0, "updated_at" = '2013-03-14 23:48:46.622399' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "cached_votes_down" = 1, "updated_at" = '2013-03-14 23:48:46.637408' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 2]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-03-14 23:48:46.645200' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (3.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-03-14 23:48:46.684833' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-03-14 23:48:46.685628' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 6]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 23:48:46.815126' WHERE "commontator_subscriptions"."id" = 5 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Thu, 14 Mar 2013 18:48:46 -0500 From: no-reply@example.com Message-ID: <514261dec8c41_e13448fe043011@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Thu, 14 Mar 2013 18:48:46 -0500 From: no-reply@example.com Message-ID: <514261decae75_e13448fe04314b@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 23:48:46.841172', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-03-14 23:48:46.841640' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 23:48:46.843011' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", 4]] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "updated_at" = '2013-03-14 23:48:46.894626' WHERE "commontator_threads"."id" = 4 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-03-14 23:48:46.896957', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-03-14 23:48:46.897364' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 23:48:46.938195' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 23:48:46.939448' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-03-14 23:48:46.940636' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-03-14 23:48:46.944075' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 23:48:46.969218', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-03-14 23:48:46.969740' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 23:48:46.972167' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 23:48:46.975204', "updated_at" = '2013-03-14 23:48:46.975726' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 23:48:46.989402', "updated_at" = '2013-03-14 23:48:46.989951' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:46 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 23:48:47.028344', "updated_at" = '2013-03-14 23:48:47.028776' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 23:48:47.038701' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 23:48:47.065135', "updated_at" = '2013-03-14 23:48:47.065555' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 23:48:47.068868' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 23:48:47.070533', "updated_at" = '2013-03-14 23:48:47.070913' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 23:48:47.074040' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:48:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.0ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:54 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:54 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:54 UTC +00:00]] [1m[36m (13.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:54 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:54 UTC +00:00]] [1m[35m (4.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:54 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:54 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:54 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:54 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:54 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 23:50:54 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-03-14 23:50:55.647999' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:55 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:55 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:55 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:55 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:55 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 23:50:55 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-03-14 23:50:56.678906' WHERE "commontator_comments"."id" = 1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["deleter_id", 3], ["deleter_type", "DummyUser"], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 23:50:56.693965' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[36m (26.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[35m (5.3ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[36m (5.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1[0m [1m[35m (5.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[36m (3.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[35m (4.6ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[36m (4.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 3], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (5.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[36m (4.2ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCommontator::Subscription Exists (0.2ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[35m (5.4ms)[0m commit transaction [1m[36mCommontator::Comment Load (0.2ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", 2]] [1m[35mCommontator::Thread Load (0.2ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1 [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1 [1m[36m (0.2ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 23:50:56.850554' WHERE "commontator_subscriptions"."id" = 3[0m [1m[35m (5.2ms)[0m commit transaction Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (4.6ms) Sent mail to (29ms) Date: Thu, 14 Mar 2013 18:50:56 -0500 From: no-reply@example.com Message-ID: <51426260ef65a_e1de907f0584d6@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 3 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:56 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 23:50:56.992566', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 23:50:56.993209' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 23:50:57.022314' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.5ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 23:50:57.027565', "updated_at" = '2013-03-14 23:50:57.028052' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 23:50:57.032476' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 23:50:57.033947', "updated_at" = '2013-03-14 23:50:57.034417' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 23:50:57.038078' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-03-14 23:50:57.061795' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 1]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 0, "cached_votes_up" = 0, "updated_at" = '2013-03-14 23:50:57.070703' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "cached_votes_down" = 1, "updated_at" = '2013-03-14 23:50:57.086283' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 2]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-03-14 23:50:57.094084' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 23:50:57.133168', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 23:50:57.133755' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 23:50:57.155491' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 23:50:57.159551', "deleter_id" = 6, "updated_at" = '2013-03-14 23:50:57.160057' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 23:50:57.162223' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 23:50:57.165334', "updated_at" = '2013-03-14 23:50:57.165841' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 23:50:57.206667', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 23:50:57.207361' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 23:50:57.216638' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (22.4ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 26ms (ActiveRecord: 22.6ms) [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-03-14 23:50:57.296390' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-03-14 23:50:57.318797' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 21ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-03-14 23:50:57.393454' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-03-14 23:50:57.410998' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-03-14 23:50:57.414404' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-03-14 23:50:57.420540' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-03-14 23:50:57.423709' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 23:50:57.433973', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 23:50:57.434491' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 23:50:57.443688' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 23:50:57.449205', "deleter_id" = NULL, "deleter_type" = NULL, "updated_at" = '2013-03-14 23:50:57.449781' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-03-14 23:50:57.456632' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-03-14 23:50:57.457277', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-03-14 23:50:57.457753' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.4ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 27ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 23:50:57.521444', "updated_at" = '2013-03-14 23:50:57.522173' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-03-14 23:50:57.541209' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-03-14 23:50:57.556814' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-03-14 23:50:57.559939' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-03-14 23:50:57.565307' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_up" = 0, "updated_at" = '2013-03-14 23:50:57.568370' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (1.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-03-14 23:50:57.620958' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-03-14 23:50:57.621733' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 6]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 23:50:57.752877' WHERE "commontator_subscriptions"."id" = 5[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Thu, 14 Mar 2013 18:50:57 -0500 From: no-reply@example.com Message-ID: <51426261bded9_e1de907f05857f@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Thu, 14 Mar 2013 18:50:57 -0500 From: no-reply@example.com Message-ID: <51426261c01e8_e1de907f0586b5@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.2ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 23:50:57.829914' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-03-14 23:50:57.830827' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-03-14 23:50:57.831711' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-03-14 23:50:57.834286' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "commontable_id" = NULL, "updated_at" = '2013-03-14 23:50:57.891435' WHERE "commontator_threads"."id" = 4[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-03-14 23:50:57.893609', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-03-14 23:50:57.894004' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1 [["id", 4]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 23:50:57.900899', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-03-14 23:50:57.901328' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 23:50:57.902397' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 23:50:57.911970', "updated_at" = '2013-03-14 23:50:57.912370' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 20ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 23:50:57.940680' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 23:50:57.981572', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-03-14 23:50:57.982106' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 23:50:57.984510' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 23:50:57.987153', "updated_at" = '2013-03-14 23:50:57.987607' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-03-14 23:50:58.000613', "updated_at" = '2013-03-14 23:50:58.001141' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:58 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:58 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:58 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:58 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 23:50:58.009490', "updated_at" = '2013-03-14 23:50:58.009900' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 23:50:58.013398' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-03-14 23:50:58.015097', "updated_at" = '2013-03-14 23:50:58.015473' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-03-14 23:50:58.018240' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:58 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:58 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:58 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:58 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 14 Mar 2013 23:50:58 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 14 Mar 2013 23:50:58 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:58 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 14 Mar 2013 23:50:58 UTC +00:00], ["updated_at", Thu, 14 Mar 2013 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (22.6ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00]] [1m[36m (18.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00]] [1m[35m (5.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 04 Apr 2013 16:46:15 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-04-04 16:46:16.271538' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:16 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:16 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:16 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:16 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:16 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:16 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:16 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 04 Apr 2013 16:46:16 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-04-04 16:46:17.286559' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["deleter_id", 3], ["deleter_type", "DummyUser"], ["thread_id", 2], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.296879' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (11.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (5.5ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (6.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1[0m [1m[35m (6.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (4.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (5.4ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (5.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 3], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (5.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (4.0ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (5.1ms)[0m commit transaction [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", 2]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-04-04 16:46:17.445415' WHERE "commontator_subscriptions"."id" = 3[0m [1m[35m (4.1ms)[0m commit transaction Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (4.8ms) Sent mail to (29ms) Date: Thu, 04 Apr 2013 11:46:17 -0500 From: no-reply@example.com Message-ID: <515dae598691d_f50cb4fe4943cb@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 3 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-04-04 16:46:17.597141', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-04-04 16:46:17.597756' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.604743' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.5ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-04-04 16:46:17.609778', "updated_at" = '2013-04-04 16:46:17.610256' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.614563' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-04-04 16:46:17.616025', "updated_at" = '2013-04-04 16:46:17.616492' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.620099' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-04-04 16:46:17.627920', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-04-04 16:46:17.628424' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.636835' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-04-04 16:46:17.641854', "deleter_id" = NULL, "deleter_type" = NULL, "updated_at" = '2013-04-04 16:46:17.642301' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.648195' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-04-04 16:46:17.648774', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-04-04 16:46:17.649221' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-04-04 16:46:17.664949', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-04-04 16:46:17.665529' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.670354' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-04-04 16:46:17.674042', "deleter_id" = 6, "updated_at" = '2013-04-04 16:46:17.674524' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:17.676577' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-04-04 16:46:17.679586', "updated_at" = '2013-04-04 16:46:17.680062' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 19ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36mDummyModel Load (0.4ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-04-04 16:46:17.772163' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 19ms (ActiveRecord: 1.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-04-04 16:46:17.788410' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-04-04 16:46:17.791483' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-04-04 16:46:17.796788' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "updated_at" = '2013-04-04 16:46:17.799799' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-04-04 16:46:17.873027' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-04-04 16:46:17.906402' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-04-04 16:46:17.909572' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-04-04 16:46:17.915011' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-04-04 16:46:17.918222' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (1.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 28ms (ActiveRecord: 1.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-04-04 16:46:18.011373' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 1]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 0, "cached_votes_up" = 0, "updated_at" = '2013-04-04 16:46:18.020207' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_up" = 0, "cached_votes_down" = 1, "updated_at" = '2013-04-04 16:46:18.035802' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 2]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-04-04 16:46:18.043572' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-04-04 16:46:18.058004' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-04-04 16:46:18.080151' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-04-04 16:46:18.148792', "updated_at" = '2013-04-04 16:46:18.149571' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-04-04 16:46:18.168861', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-04-04 16:46:18.169532' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-04-04 16:46:18.178194' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (3.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-04-04 16:46:18.201980' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-04-04 16:46:18.202810' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (22.5ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 26ms (ActiveRecord: 22.9ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 6]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-04-04 16:46:18.329555' WHERE "commontator_subscriptions"."id" = 5 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Thu, 04 Apr 2013 11:46:18 -0500 From: no-reply@example.com Message-ID: <515dae5a521ca_f50cb4fe4944ea@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Thu, 04 Apr 2013 11:46:18 -0500 From: no-reply@example.com Message-ID: <515dae5a5424c_f50cb4fe4945a5@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-04-04 16:46:18.366567', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-04-04 16:46:18.367002' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-04-04 16:46:18.368132' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-04-04 16:46:18.440095' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-04-04 16:46:18.441115' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-04-04 16:46:18.442119' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-04-04 16:46:18.445648' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", 4]] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "updated_at" = '2013-04-04 16:46:18.459761' WHERE "commontator_threads"."id" = 4 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-04-04 16:46:18.462123', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-04-04 16:46:18.462516' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-04-04 16:46:18.479829', "updated_at" = '2013-04-04 16:46:18.480352' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-04-04 16:46:18.488548', "updated_at" = '2013-04-04 16:46:18.488940' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-04-04 16:46:18.492671' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-04-04 16:46:18.494451', "updated_at" = '2013-04-04 16:46:18.494826' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-04-04 16:46:18.498216' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-04-04 16:46:18.504952', "updated_at" = '2013-04-04 16:46:18.505439' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-04-04 16:46:18.514581' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-04-04 16:46:18.585976', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-04-04 16:46:18.586436' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-04-04 16:46:18.588735' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-04-04 16:46:18.590672', "updated_at" = '2013-04-04 16:46:18.591104' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00], ["updated_at", Thu, 04 Apr 2013 16:46:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (4.0ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (18.4ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (3.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (3.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:21:10 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.0ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (14.4ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (5.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (4.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:39 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:39 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:39 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:39 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:39 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:39 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:39 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:39 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:24:39 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:24:39 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:24:39 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (2.9ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[35m (9.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (5.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["deleter_id", 3], ["deleter_type", "DummyUser"], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[35m (6.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[35m (4.1ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (9.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[35m (4.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[35m (4.9ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (4.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 3 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 3], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:40 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (2.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-12 23:25:41.179674' WHERE "commontator_subscriptions"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-12 23:25:41.181028' WHERE "commontator_subscriptions"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 3]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 3]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 3]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:25:41.323090' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:25:41.345154' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:25:41.346084' WHERE "commontator_subscriptions"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-12 23:25:41.346931' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-12 23:25:41.350379' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 3]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (22.4ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:25:41.440741', "closer_id" = 4, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:25:41.442260' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:25:41.444403' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 6ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:25:41.475719', "updated_at" = '2013-07-12 23:25:41.476969' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:25:41.485842', "updated_at" = '2013-07-12 23:25:41.486887' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:25:41.491263' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:25:41.492984', "updated_at" = '2013-07-12 23:25:41.493916' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:25:41.497742' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:25:41.506292', "closer_id" = 4, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:25:41.507383' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:25:41.510246' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:25:41.512353', "updated_at" = '2013-07-12 23:25:41.513395' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:25:41.520188', "updated_at" = '2013-07-12 23:25:41.521143' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:25:41.530141' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:25:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (2.9ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:04 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:04 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:04 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:04 UTC +00:00]] [1m[35m (14.3ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:04 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:04 UTC +00:00]] [1m[36m (5.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:04 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:04 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:04 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:04 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:04 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:04 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:04 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:30:04 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.2ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.2ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:30:05.233371' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:05 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:05 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:05 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:05 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:05 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:05 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:05 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:30:05 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:30:06.244353' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["deleter_id", 3], ["deleter_type", "DummyUser"], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:30:06.289182' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (9.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (5.5ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36m (5.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (5.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (3.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (4.8ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36m (5.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 3 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 3], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (5.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (4.0ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36m (4.8ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Comment Load (0.2ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 2]] [1m[36mCommontator::Thread Load (0.2ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1[0m [1m[35mDummyModel Load (0.2ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.2ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1[0m [1m[35m (0.2ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:30:06.419805' WHERE "commontator_subscriptions"."id" = 3 [1m[36m (4.8ms)[0m [1mcommit transaction[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (23.1ms) Sent mail to (29ms) Date: Fri, 12 Jul 2013 18:30:06 -0500 From: no-reply@example.com Message-ID: <51e0917e86793_48dcefbff036632@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 3 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:30:06.574345', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:30:06.575812' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:30:06.586712' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:30:06.659317' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:30:06.689344' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:30:06.746302' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-12 23:30:06.763276' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:30:06.767097' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-12 23:30:06.772370' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "updated_at" = '2013-07-12 23:30:06.776085' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (17.0ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:30:06.844431' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 11ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-12 23:30:06.861388' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:30:06.865333' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-12 23:30:06.871056' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-07-12 23:30:06.875044' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:30:06.887050', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:30:06.888518' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:30:06.895748' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.5ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:30:06.901023', "updated_at" = '2013-07-12 23:30:06.902568' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:30:06.908236' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:30:06.910171', "updated_at" = '2013-07-12 23:30:06.911495' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.9ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:30:06.940080' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 29ms (ActiveRecord: 1.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 1ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:06 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 11ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:30:07.016601', "updated_at" = '2013-07-12 23:30:07.018009' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:30:07.035966' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 1]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 0, "cached_votes_up" = 0, "updated_at" = '2013-07-12 23:30:07.045170' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:30:07.060954' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 2]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-07-12 23:30:07.069418' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 27ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:30:07.104592', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:30:07.106115' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.5ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:30:07.113348' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:30:07.117262', "deleter_id" = 6, "updated_at" = '2013-07-12 23:30:07.118853' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:30:07.122479' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:30:07.126304', "updated_at" = '2013-07-12 23:30:07.127838' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:30:07.138146', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:30:07.139328' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:30:07.149141' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:30:07.154553', "deleter_id" = NULL, "deleter_type" = NULL, "updated_at" = '2013-07-12 23:30:07.155947' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:30:07.164634' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:30:07.165251', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:30:07.166398' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.6ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (1.7ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-12 23:30:07.247997' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-12 23:30:07.248776' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 6]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:30:07.380083' WHERE "commontator_subscriptions"."id" = 5 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 18:30:07 -0500 From: no-reply@example.com Message-ID: <51e0917f5e94b_48dcefbff036778@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 18:30:07 -0500 From: no-reply@example.com Message-ID: <51e0917f60c1c_48dcefbff036835@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", 4]] [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-07-12 23:30:07.454675', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:30:07.455085' WHERE "commontator_threads"."id" = 4[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:30:07.466372', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:30:07.467500' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:30:07.487803' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (1.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:30:07.529556' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:30:07.530485' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-12 23:30:07.531345' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-12 23:30:07.534823' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:30:07.574832', "updated_at" = '2013-07-12 23:30:07.576065' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:30:07.586792', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:30:07.587861' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:30:07.590720' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:30:07.592705', "updated_at" = '2013-07-12 23:30:07.593701' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:30:07.600278', "updated_at" = '2013-07-12 23:30:07.601219' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:30:07.610950' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:30:07.671525', "updated_at" = '2013-07-12 23:30:07.672599' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:30:07.676946' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:30:07.678768', "updated_at" = '2013-07-12 23:30:07.680030' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:30:07.683717' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:30:07 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:34 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:34 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:34 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:34 UTC +00:00]] [1m[35m (14.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:34 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:34 UTC +00:00]] [1m[36m (5.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:34 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:34 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:34 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:34 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:34 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:35:34 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.2ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:35:35.831877' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:35 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:35 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:35 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:35 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:35 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:35:35 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.2ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:35:36.845535' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00]] [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00], ["deleter_id", 3], ["deleter_type", "DummyUser"], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:35:36.891351' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00]] [1m[35m (9.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00]] [1m[35m (5.6ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00]] [1m[36m (5.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (5.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00]] [1m[35m (4.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00]] [1m[35m (5.3ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00]] [1m[36m (5.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 3 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 3], ["updated_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (5.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:36 UTC +00:00]] [1m[35m (4.2ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (6.7ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Comment Load (0.2ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 2]] [1m[36mCommontator::Thread Load (0.2ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1[0m [1m[35mDummyModel Load (0.2ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.2ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:35:37.021742' WHERE "commontator_subscriptions"."id" = 3 [1m[36m (5.1ms)[0m [1mcommit transaction[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (22.8ms) Sent mail to (28ms) Date: Fri, 12 Jul 2013 18:35:37 -0500 From: no-reply@example.com Message-ID: <51e092c923855_49185997f09656e@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 3 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:35:37.192843', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:35:37.194114' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.5ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:35:37.201166' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:35:37.204880', "deleter_id" = 6, "updated_at" = '2013-07-12 23:35:37.205991' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:35:37.208712' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:35:37.211707', "updated_at" = '2013-07-12 23:35:37.212794' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:35:37.263364' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 41ms (ActiveRecord: 1.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-12 23:35:37.280889' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:35:37.284780' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-12 23:35:37.290165' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-07-12 23:35:37.293921' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:35:37.344152' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:35:37.368433', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:35:37.369562' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:35:37.379642' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:35:37.384620', "deleter_id" = NULL, "deleter_type" = NULL, "updated_at" = '2013-07-12 23:35:37.385683' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:35:37.410999' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:35:37.411612', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:35:37.412729' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:35:37.482667' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mDummyModel Load (1.2ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:35:37.556648', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:35:37.557803' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:35:37.563968' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:35:37.568605', "updated_at" = '2013-07-12 23:35:37.569712' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:35:37.573985' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:35:37.575477', "updated_at" = '2013-07-12 23:35:37.576552' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:35:37.580828' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:35:37.598846', "updated_at" = '2013-07-12 23:35:37.600314' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 1ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:35:37.671252' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 28ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-12 23:35:37.688219' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:35:37.692164' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-12 23:35:37.697829' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "updated_at" = '2013-07-12 23:35:37.701887' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:35:37.721080', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:35:37.722585' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:35:37.732613' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:35:37.752654' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.5ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 1]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 0, "cached_votes_up" = 0, "updated_at" = '2013-07-12 23:35:37.786393' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 34ms (ActiveRecord: 1.4ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:35:37.802906' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 2]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-07-12 23:35:37.811568' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (3.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-12 23:35:37.834763' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-12 23:35:37.835540' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 6]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:35:37.966250' WHERE "commontator_subscriptions"."id" = 5[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 18:35:37 -0500 From: no-reply@example.com Message-ID: <51e092c9edb16_49185997f0966e0@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 18:35:37 -0500 From: no-reply@example.com Message-ID: <51e092c9efe77_49185997f0967d0@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:35:37.993968', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:35:37.995344' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:35:37.997482' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:35:38.030064' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:35:38.031014' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-12 23:35:38.032060' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-12 23:35:38.035930' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-07-12 23:35:38.049493', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:35:38.049964' WHERE "commontator_threads"."id" = 4 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1 [["id", 4]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mCommontator::Comment Load (1.3ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:35:38.136116', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:35:38.137348' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:35:38.140649' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:35:38.143538', "updated_at" = '2013-07-12 23:35:38.144620' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:35:38.158267', "updated_at" = '2013-07-12 23:35:38.159598' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:35:38.181935', "updated_at" = '2013-07-12 23:35:38.183054' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:35:38.192877' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (18.7ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:35:38.220076', "updated_at" = '2013-07-12 23:35:38.221209' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:35:38.225251' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:35:38.226910', "updated_at" = '2013-07-12 23:35:38.227935' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:35:38.231795' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:35:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.0ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00]] [1m[35m (12.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00]] [1m[36m (5.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00], ["deleter_id", 3], ["deleter_type", "DummyUser"], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:37:51.533587' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:37:51 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:37:52.543138' WHERE "commontator_comments"."id" = 1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:52 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:52 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:52 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:52 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:52 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:52 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:52 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:52 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:52 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:37:52 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.2ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.2ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:37:53.589863' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[35m (9.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[35m (5.1ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36m (5.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (4.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[35m (3.8ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36m (4.4ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Comment Load (0.2ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 1]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 2 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:37:53.674056' WHERE "commontator_subscriptions"."id" = 2 [1m[36m (4.0ms)[0m [1mcommit transaction[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (23.0ms) Sent mail to (28ms) Date: Fri, 12 Jul 2013 18:37:53 -0500 From: no-reply@example.com Message-ID: <51e09351c21a5_492b3dffe0306a2@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 2 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[35m (5.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[35m (4.0ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36m (4.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 3], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1 [1m[36m (4.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:37:53.878175', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:37:53.879305' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:37:53.885970' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:37:53.891771', "updated_at" = '2013-07-12 23:37:53.892857' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:37:53.897856' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:37:53.899355', "updated_at" = '2013-07-12 23:37:53.900418' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:37:53.905018' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 25ms (ActiveRecord: 0.1ms) [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.2ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.2ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:53 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:37:53.984205', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:37:53.985496' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:37:53.996034' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:37:54.001248', "deleter_id" = NULL, "deleter_type" = NULL, "updated_at" = '2013-07-12 23:37:54.002336' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:37:54.009693' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:37:54.010271', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:37:54.011324' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:37:54.043654' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 19ms (ActiveRecord: 1.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-12 23:37:54.060825' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:37:54.064631' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-12 23:37:54.069955' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-07-12 23:37:54.073658' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 21ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:37:54.110876', "updated_at" = '2013-07-12 23:37:54.112380' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:37:54.130901' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (23.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:37:54.216832' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 11ms (ActiveRecord: 1.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-12 23:37:54.236090' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:37:54.241025' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-12 23:37:54.249058' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_up" = 0, "updated_at" = '2013-07-12 23:37:54.253533' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 12ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:37:54.273522' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 1]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 0, "cached_votes_up" = 0, "updated_at" = '2013-07-12 23:37:54.283631' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 11ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:37:54.300131' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 2]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-07-12 23:37:54.309575' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:37:54.325892', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:37:54.327137' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:37:54.333213' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:37:54.336953', "deleter_id" = 6, "updated_at" = '2013-07-12 23:37:54.338039' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:37:54.340748' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:37:54.361311', "updated_at" = '2013-07-12 23:37:54.362550' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 22ms (ActiveRecord: 0.5ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:37:54.378376' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 37ms (ActiveRecord: 0.3ms) [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:37:54.522243', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:37:54.524380' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.6ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:37:54.536739' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (3.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-12 23:37:54.578726' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-12 23:37:54.579645' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 26ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 6]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:37:54.715480' WHERE "commontator_subscriptions"."id" = 5[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 18:37:54 -0500 From: no-reply@example.com Message-ID: <51e09352b06f2_492b3dffe030751@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 18:37:54 -0500 From: no-reply@example.com Message-ID: <51e09352b29fd_492b3dffe0308ed@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-07-12 23:37:54.747696', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:37:54.748049' WHERE "commontator_threads"."id" = 4 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1 [["id", 4]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:37:54.777494', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:37:54.778711' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:37:54.781264' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mDummyModel Load (1.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:37:54.854946' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:37:54.855900' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-12 23:37:54.856751' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-12 23:37:54.860168' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:37:54.885339', "updated_at" = '2013-07-12 23:37:54.886287' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:37:54.896679' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:37:54.907353', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:37:54.908512' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:37:54.911439' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:37:54.914017', "updated_at" = '2013-07-12 23:37:54.915015' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:37:54.928107', "updated_at" = '2013-07-12 23:37:54.929303' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:37:54.988117', "updated_at" = '2013-07-12 23:37:54.989132' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:37:54.993430' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:37:54.995306', "updated_at" = '2013-07-12 23:37:54.996499' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:37:55.000450' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:55 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:37:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:37:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:55 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:37:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:37:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.0ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00]] [1m[35m (12.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00]] [1m[36m (4.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00], ["deleter_id", 3], ["deleter_type", "DummyUser"], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:40:34.171303' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:40:34 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.2ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.2ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:40:35.214308' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:35 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:35 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:35 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:35 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:35 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:40:35 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.2ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:40:36.230534' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (8.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (5.0ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.3ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (4.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (4.4ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (4.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (4.4ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (4.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 3 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 3], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.2ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (6.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (4.1ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (4.7ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Comment Load (0.2ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 2]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1[0m [1m[35m (0.2ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:40:36.350088' WHERE "commontator_subscriptions"."id" = 3 [1m[36m (4.7ms)[0m [1mcommit transaction[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (22.8ms) Sent mail to (28ms) Date: Fri, 12 Jul 2013 18:40:36 -0500 From: no-reply@example.com Message-ID: <51e093f4733c1_493c917fe462867@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 3 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:40:36.513963', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:40:36.515099' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:40:36.522492' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.5ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:40:36.528115', "updated_at" = '2013-07-12 23:40:36.529193' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:40:36.534237' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:40:36.536262', "updated_at" = '2013-07-12 23:40:36.537774' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:40:36.542659' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 27ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:40:36.583148', "updated_at" = '2013-07-12 23:40:36.584627' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:40:36.607008', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:40:36.608495' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:40:36.617592' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:40:36.696000' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 18ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-12 23:40:36.712489' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:40:36.716272' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-12 23:40:36.738618' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "updated_at" = '2013-07-12 23:40:36.742604' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 27ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:40:36.778476', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:40:36.779952' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:40:36.786287' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:40:36.790004', "deleter_id" = 6, "updated_at" = '2013-07-12 23:40:36.791344' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:40:36.794376' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:40:36.798165', "updated_at" = '2013-07-12 23:40:36.799519' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.7ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 29ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Another thing' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Another thing"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'And this too' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "And this too"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.6ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:40:36.940227', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:40:36.941371' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:40:36.950517' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:40:36.956939', "deleter_id" = NULL, "deleter_type" = NULL, "updated_at" = '2013-07-12 23:40:36.958058' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:40:36.965370' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:40:36.965956', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:40:36.967026' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 21ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:36 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:40:37.003055' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:40:37.037135' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-12 23:40:37.056621' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:40:37.060654' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-12 23:40:37.066791' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-07-12 23:40:37.070654' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:40:37.092286' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 1]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 0, "cached_votes_up" = 0, "updated_at" = '2013-07-12 23:40:37.102281' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:40:37.120073' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 2]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-07-12 23:40:37.147356' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 28ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (1.5ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:40:37.192977' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (1.7ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-12 23:40:37.226671' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-12 23:40:37.227471' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 6]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:40:37.366428' WHERE "commontator_subscriptions"."id" = 5 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 18:40:37 -0500 From: no-reply@example.com Message-ID: <51e093f55b96a_493c917fe4629f7@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 18:40:37 -0500 From: no-reply@example.com Message-ID: <51e093f55dc34_493c917fe4630f3@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:40:37.415562', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:40:37.416903' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:40:37.419987' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-07-12 23:40:37.431593', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:40:37.431961' WHERE "commontator_threads"."id" = 4 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1 [["id", 4]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:40:37.461351' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:40:37.462500' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-12 23:40:37.463445' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-12 23:40:37.467061' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (24.8ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:40:37.558824', "updated_at" = '2013-07-12 23:40:37.560107' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:40:37.574197' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:40:37.584889', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:40:37.586020' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:40:37.588935' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:40:37.591994', "updated_at" = '2013-07-12 23:40:37.593001' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:40:37.606345', "updated_at" = '2013-07-12 23:40:37.607571' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:40:37.615849', "updated_at" = '2013-07-12 23:40:37.616782' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:40:37.620606' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:40:37.622774', "updated_at" = '2013-07-12 23:40:37.623824' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:40:37.626912' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:40:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.0ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00]] [1m[35m (11.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00]] [1m[36m (4.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00]] [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00], ["deleter_id", 3], ["deleter_type", "DummyUser"], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:45:18.764060' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:45:18 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.2ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:45:19.775078' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:19 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:19 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:19 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:19 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:19 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:19 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:19 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:45:19 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:45:20.786958' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:20 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:20 UTC +00:00]] [1m[35m (8.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:20 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:20 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:20 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:20 UTC +00:00]] [1m[35m (6.1ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:20 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:20 UTC +00:00]] [1m[36m (4.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:20 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:45:20 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (5.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:20 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:20 UTC +00:00]] [1m[35m (4.1ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:20 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:20 UTC +00:00]] [1m[36m (4.9ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Comment Load (0.2ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 1]] [1m[36mCommontator::Thread Load (0.2ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 2 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:45:20.869912' WHERE "commontator_subscriptions"."id" = 2 [1m[36m (5.0ms)[0m [1mcommit transaction[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (23.1ms) Sent mail to (28ms) Date: Fri, 12 Jul 2013 18:45:20 -0500 From: no-reply@example.com Message-ID: <51e09510f2a94_49545c3ff08869@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 2 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:20 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:20 UTC +00:00]] [1m[35m (8.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (4.8ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (4.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 3], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1 [1m[36m (5.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:45:21.099567' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (20.7ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:45:21.156232' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 11ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-12 23:45:21.174220' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:45:21.178024' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-12 23:45:21.183360' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-07-12 23:45:21.187079' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:45:21.204499' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 1]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 0, "cached_votes_up" = 0, "updated_at" = '2013-07-12 23:45:21.213496' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:45:21.229557' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 2]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-07-12 23:45:21.238049' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 11ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:45:21.312575', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:45:21.314144' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:45:21.322684' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.6ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:45:21.328365', "updated_at" = '2013-07-12 23:45:21.329808' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:45:21.335881' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:45:21.337814', "updated_at" = '2013-07-12 23:45:21.339318' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:45:21.345046' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:45:21.361067' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 29ms (ActiveRecord: 0.5ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:45:21.417317', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:45:21.418756' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:45:21.427875' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:45:21.445709', "updated_at" = '2013-07-12 23:45:21.447118' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:45:21.461944', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:45:21.463045' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:45:21.469183' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:45:21.472358', "deleter_id" = 6, "updated_at" = '2013-07-12 23:45:21.473457' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:45:21.476145' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:45:21.479192', "updated_at" = '2013-07-12 23:45:21.480290' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:45:21.489538', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:45:21.490639' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:45:21.499991' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:45:21.505034', "deleter_id" = NULL, "deleter_type" = NULL, "updated_at" = '2013-07-12 23:45:21.506101' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:45:21.532087' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:45:21.532774', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:45:21.533964' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Another thing' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Another thing"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'And this too' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "And this too"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (1.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:45:21.723244' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-12 23:45:21.739417' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:45:21.743200' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-12 23:45:21.748498' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "updated_at" = '2013-07-12 23:45:21.752259' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (1.6ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-12 23:45:21.785680' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-12 23:45:21.786495' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 6]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 21ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:45:21.919786' WHERE "commontator_subscriptions"."id" = 5[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 18:45:21 -0500 From: no-reply@example.com Message-ID: <51e09511e24d6_49545c3ff088720@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 18:45:21 -0500 From: no-reply@example.com Message-ID: <51e09511e47bd_49545c3ff0888ca@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:45:21.947454', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:45:21.948600' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:45:21.950979' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:45:21.999574' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:45:22.000617' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-12 23:45:22.001504' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-12 23:45:22.005230' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (1.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", 4]] [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-07-12 23:45:22.092151', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:45:22.092512' WHERE "commontator_threads"."id" = 4[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:45:22.119408', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:45:22.120601' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:45:22.123652' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:45:22.126245', "updated_at" = '2013-07-12 23:45:22.127272' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 20ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:45:22.159986', "updated_at" = '2013-07-12 23:45:22.161330' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:45:22.170317', "updated_at" = '2013-07-12 23:45:22.171300' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:45:22.175682' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:45:22.177479', "updated_at" = '2013-07-12 23:45:22.178759' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:45:22.183423' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:45:22.209784', "updated_at" = '2013-07-12 23:45:22.210803' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:45:22.220470' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.0ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:52 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:52 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:52 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:52 UTC +00:00]] [1m[35m (13.4ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:52 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:52 UTC +00:00]] [1m[36m (3.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:52 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:52 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:52 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:52 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:52 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:52 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:52 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:52 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:45:52 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.2ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:45:53.683835' WHERE "commontator_comments"."id" = 1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:53 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:53 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:53 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:53 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:45:53 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:45:54.698021' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["deleter_id", 3], ["deleter_type", "DummyUser"], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:45:54.708910' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[35m (8.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[35m (5.3ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[36m (6.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (5.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[35m (3.9ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[36m (4.8ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Comment Load (0.2ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 1]] [1m[36mCommontator::Thread Load (0.2ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 2 LIMIT 1[0m [1m[35mDummyModel Load (0.2ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:45:54.794628' WHERE "commontator_subscriptions"."id" = 2 [1m[36m (4.5ms)[0m [1mcommit transaction[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (22.8ms) Sent mail to (28ms) Date: Fri, 12 Jul 2013 18:45:54 -0500 From: no-reply@example.com Message-ID: <51e09532df8ee_495dff37f0979d9@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 2 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[35m (6.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[35m (5.0ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[36m (4.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 3], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1 [1m[36m (5.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 14ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:54 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:45:55.054741' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 41ms (ActiveRecord: 1.4ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-12 23:45:55.072010' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:45:55.075823' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-12 23:45:55.081122' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-07-12 23:45:55.084927' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:45:55.134808' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-12 23:45:55.153678' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:45:55.157691' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-12 23:45:55.163021' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "updated_at" = '2013-07-12 23:45:55.166785' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 19ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:45:55.221091' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.5ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Another thing' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Another thing"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.9ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'And this too' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "And this too"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 1.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:45:55.387466', "updated_at" = '2013-07-12 23:45:55.388947' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:45:55.404417', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:45:55.406183' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:45:55.414602' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:45:55.419896', "deleter_id" = 6, "updated_at" = '2013-07-12 23:45:55.421310' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:45:55.424037' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:45:55.427076', "updated_at" = '2013-07-12 23:45:55.428180' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:45:55.445436', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:45:55.446860' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:45:55.455927' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:45:55.469057', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:45:55.470618' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 20ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:45:55.498809' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:45:55.504062', "deleter_id" = NULL, "deleter_type" = NULL, "updated_at" = '2013-07-12 23:45:55.505364' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:45:55.513373' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:45:55.513953', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:45:55.515047' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:45:55.554749', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:45:55.556048' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:45:55.562799' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:45:55.568281', "updated_at" = '2013-07-12 23:45:55.569508' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:45:55.574967' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:45:55.576813', "updated_at" = '2013-07-12 23:45:55.578044' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:45:55.583489' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:45:55.601005' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 1]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 0, "cached_votes_up" = 0, "updated_at" = '2013-07-12 23:45:55.611959' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 12ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.9ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 28ms (ActiveRecord: 1.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_up" = 0, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:45:55.654717' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 2]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-07-12 23:45:55.663415' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:45:55.680814' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (1.6ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-12 23:45:55.731029' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-12 23:45:55.732120' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.6ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 6]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:45:55.874238' WHERE "commontator_subscriptions"."id" = 5[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 18:45:55 -0500 From: no-reply@example.com Message-ID: <51e09533d734f_495dff37f098030@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 18:45:55 -0500 From: no-reply@example.com Message-ID: <51e09533d9b08_495dff37f098152@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:45:55.913836' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:45:55.914848' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-12 23:45:55.916265' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-12 23:45:55.921360' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (25.6ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:45:55.971481', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:45:55.972500' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:45:55.974242' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:55 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-07-12 23:45:56.031706', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:45:56.032055' WHERE "commontator_threads"."id" = 4 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1 [["id", 4]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:45:56.050635', "updated_at" = '2013-07-12 23:45:56.051991' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:45:56.057510' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:45:56.059253', "updated_at" = '2013-07-12 23:45:56.060175' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:45:56.063882' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:45:56.073944', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:45:56.075093' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:45:56.078019' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:45:56.080575', "updated_at" = '2013-07-12 23:45:56.081581' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:45:56.108306', "updated_at" = '2013-07-12 23:45:56.109503' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:45:56.118991' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:45:56.137321', "updated_at" = '2013-07-12 23:45:56.138818' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:45:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.0ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:22 UTC +00:00]] [1m[35m (11.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:22 UTC +00:00]] [1m[36m (4.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:22 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:22 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:47:22 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.2ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:47:23.211394' WHERE "commontator_comments"."id" = 1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:23 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:23 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:23 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:23 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:23 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:23 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:47:23 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:47:24.229359' WHERE "commontator_comments"."id" = 1 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["deleter_id", 3], ["deleter_type", "DummyUser"], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:47:24.240530' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35m (10.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35m (5.6ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (5.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (5.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35m (4.3ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (5.0ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Comment Load (0.2ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 1]] [1m[36mCommontator::Thread Load (0.2ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 2 LIMIT 1[0m [1m[35mDummyModel Load (0.2ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mDummyUser Load (0.2ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:47:24.325839' WHERE "commontator_subscriptions"."id" = 2 [1m[36m (4.6ms)[0m [1mcommit transaction[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (22.8ms) Sent mail to (28ms) Date: Fri, 12 Jul 2013 18:47:24 -0500 From: no-reply@example.com Message-ID: <51e0958c6d3ac_4982742fe831073@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 2 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35m (6.5ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35m (4.5ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (4.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 3], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1 [1m[36m (5.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:47:24.524917' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 1]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 0, "cached_votes_up" = 0, "updated_at" = '2013-07-12 23:47:24.537130' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 11ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:47:24.554325' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 2]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-07-12 23:47:24.562820' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.2ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:47:24.630562', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:47:24.632320' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.7ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:47:24.639726' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:47:24.643512', "deleter_id" = 6, "updated_at" = '2013-07-12 23:47:24.644604' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:47:24.647293' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:47:24.650366', "updated_at" = '2013-07-12 23:47:24.651461' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:47:24.662534', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:47:24.664108' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:47:24.675973' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:47:24.680960', "deleter_id" = NULL, "deleter_type" = NULL, "updated_at" = '2013-07-12 23:47:24.682018' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:47:24.689314' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:47:24.689886', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:47:24.690935' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:47:24.774217', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:47:24.775786' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:47:24.786143' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:47:24.842991', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:47:24.844158' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:47:24.852979' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:47:24.858316', "updated_at" = '2013-07-12 23:47:24.859485' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:47:24.864692' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:47:24.866484', "updated_at" = '2013-07-12 23:47:24.867692' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:47:24.872377' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:47:24.933707' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:24 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:47:24.971893' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 11ms (ActiveRecord: 1.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-12 23:47:24.988193' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:47:24.991979' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-12 23:47:24.997261' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_up" = 0, "updated_at" = '2013-07-12 23:47:25.001040' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:47:25.056643' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 24ms (ActiveRecord: 0.6ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:47:25.085650', "updated_at" = '2013-07-12 23:47:25.087225' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:47:25.112180' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-12 23:47:25.129466' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:47:25.133406' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-12 23:47:25.139436' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-07-12 23:47:25.143440' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (23.0ms)[0m begin transaction [1m[36m (0.8ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (3.7ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-12 23:47:25.246488' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-12 23:47:25.247281' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 6]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:47:25.384628' WHERE "commontator_subscriptions"."id" = 5 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (4ms) Date: Fri, 12 Jul 2013 18:47:25 -0500 From: no-reply@example.com Message-ID: <51e0958d5fab2_4982742fe8311ea@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 18:47:25 -0500 From: no-reply@example.com Message-ID: <51e0958d62bae_4982742fe831212@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", 4]] [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-07-12 23:47:25.420375', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:47:25.420760' WHERE "commontator_threads"."id" = 4[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.9ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:47:25.486877' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:47:25.487800' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-12 23:47:25.488643' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-12 23:47:25.492105' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:47:25.498991', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:47:25.500007' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:47:25.501722' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:47:25.598163', "updated_at" = '2013-07-12 23:47:25.599391' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:47:25.627756', "updated_at" = '2013-07-12 23:47:25.628726' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:47:25.639313' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:47:25.648507', "updated_at" = '2013-07-12 23:47:25.649696' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:47:25.653929' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:47:25.655661', "updated_at" = '2013-07-12 23:47:25.656809' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:47:25.660543' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:47:25.670072', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:47:25.671937' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:47:25.676125' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:47:25.679530', "updated_at" = '2013-07-12 23:47:25.681111' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:47:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (2.9ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00]] [1m[35m (12.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00]] [1m[36m (3.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00], ["deleter_id", 3], ["deleter_type", "DummyUser"], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:51:22.167943' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:51:22 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.2ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.2ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:51:23.209219' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:23 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:23 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:23 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:23 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:23 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:23 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:23 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:51:23 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.2ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:51:24.228491' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35m (8.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35m (5.4ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (4.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (5.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35m (4.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35m (4.1ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (4.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 3 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 3], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (5.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35m (4.3ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (4.9ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Comment Load (0.2ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 2]] [1m[36mCommontator::Thread Load (0.2ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1[0m [1m[35mDummyModel Load (0.2ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1[0m [1m[35m (0.2ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:51:24.359059' WHERE "commontator_subscriptions"."id" = 3 [1m[36m (5.0ms)[0m [1mcommit transaction[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (22.9ms) Sent mail to (28ms) Date: Fri, 12 Jul 2013 18:51:24 -0500 From: no-reply@example.com Message-ID: <51e0967c76c11_49a97bffe8154f@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 3 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:51:24.506671', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:51:24.507968' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.5ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:51:24.514949' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:51:24.518817', "deleter_id" = 6, "updated_at" = '2013-07-12 23:51:24.519989' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:51:24.522758' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:51:24.525822', "updated_at" = '2013-07-12 23:51:24.526924' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:51:24.551496' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 23ms (ActiveRecord: 0.2ms) [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:51:24.629604' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 1]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "cached_votes_total" = 0, "cached_votes_up" = 0, "updated_at" = '2013-07-12 23:51:24.638891' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:51:24.654899' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 2]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-07-12 23:51:24.663415' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Another thing' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Another thing"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'And this too' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "And this too"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:51:24.713161' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-12 23:51:24.748049' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:51:24.751999' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-12 23:51:24.757406' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_down" = 0, "updated_at" = '2013-07-12 23:51:24.761333' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:51:24.796726', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:51:24.798305' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:51:24.810014' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:51:24.815992', "deleter_id" = NULL, "deleter_type" = NULL, "updated_at" = '2013-07-12 23:51:24.817534' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 26ms (ActiveRecord: 0.2ms) [1m[35m (0.9ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:51:24.850315' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:51:24.850911', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:51:24.851957' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:51:24.872029', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:51:24.873455' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:51:24.882466' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-12 23:51:24.899924' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:51:24.953049', "updated_at" = '2013-07-12 23:51:24.954471' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 20ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_down" = 1, "updated_at" = '2013-07-12 23:51:25.078359' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-12 23:51:25.095481' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_total" = 1, "cached_votes_up" = 1, "updated_at" = '2013-07-12 23:51:25.099743' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-12 23:51:25.105702' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (1.0ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "cached_votes_up" = 0, "updated_at" = '2013-07-12 23:51:25.133221' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 34ms (ActiveRecord: 1.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:51:25.167803', "deleter_id" = 5, "deleter_type" = 'DummyUser', "updated_at" = '2013-07-12 23:51:25.168955' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:51:25.175207' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:51:25.179792', "updated_at" = '2013-07-12 23:51:25.180888' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:51:25.185215' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-12 23:51:25.186684', "updated_at" = '2013-07-12 23:51:25.187771' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-12 23:51:25.192009' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (3.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-12 23:51:25.212504' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-12 23:51:25.213267' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 6]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:51:25.346228' WHERE "commontator_subscriptions"."id" = 5 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 18:51:25 -0500 From: no-reply@example.com Message-ID: <51e0967d56544_49a97bffe81635@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 18:51:25 -0500 From: no-reply@example.com Message-ID: <51e0967d587f7_49a97bffe817be@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:51:25.391874' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-12 23:51:25.392843' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-12 23:51:25.393716' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (23.8ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-12 23:51:25.421407' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:51:25.428404', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:51:25.429398' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:51:25.431108' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-07-12 23:51:25.477677', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:51:25.478022' WHERE "commontator_threads"."id" = 4 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1 [["id", 4]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:51:25.506597', "updated_at" = '2013-07-12 23:51:25.507551' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:51:25.512415' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:51:25.514132', "updated_at" = '2013-07-12 23:51:25.515058' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:51:25.518785' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:51:25.532960', "updated_at" = '2013-07-12 23:51:25.552603' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:51:25.562485', "updated_at" = '2013-07-12 23:51:25.563521' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:51:25.572807' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:51:25.605185', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-12 23:51:25.606493' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-12 23:51:25.609672' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-12 23:51:25.611911', "updated_at" = '2013-07-12 23:51:25.612977' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00], ["updated_at", Fri, 12 Jul 2013 23:51:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:34 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:34 UTC +00:00]] [1m[35m (12.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:34 UTC +00:00]] [1m[36m (4.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:34 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:34 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:34 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:34:34 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:35 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:34:35 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00]] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:34:36.967363' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00]] [1m[35m (8.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:36 UTC +00:00]] [1m[35m (4.0ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (6.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (5.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (4.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (5.1ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (5.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 3 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 3], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (5.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (4.6ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (4.7ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Comment Load (0.2ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 2]] [1m[36mCommontator::Thread Load (0.2ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1[0m [1m[35mDummyModel Load (0.2ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.2ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:34:37.095124' WHERE "commontator_subscriptions"."id" = 3 [1m[36m (5.0ms)[0m [1mcommit transaction[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (23.3ms) Sent mail to (28ms) Date: Fri, 12 Jul 2013 19:34:37 -0500 From: no-reply@example.com Message-ID: <51e0a09d35c01_4b90f2efe0918bf@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 3 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 1]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 11ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 2]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (20.3ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 30ms (ActiveRecord: 21.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:34:37.324460', "updated_at" = '2013-07-13 00:34:37.326099' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 00:34:37.412979' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 00:34:37.422061' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:34:37.455619', "updated_at" = '2013-07-13 00:34:37.457019' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Another thing' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Another thing"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'And this too' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "And this too"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (23.5ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 26ms (ActiveRecord: 23.7ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.2ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:34:37.559987', "updated_at" = '2013-07-13 00:34:37.561756' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 00:34:37.614663' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 00:34:37.623750' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mDummyModel Load (0.2ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:34:37.764897', "updated_at" = '2013-07-13 00:34:37.766750' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:34:37.777308' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:34:37.802080', "updated_at" = '2013-07-13 00:34:37.803610' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.9ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "updated_at" = '2013-07-13 00:34:37.875667' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "updated_at" = '2013-07-13 00:34:37.881777' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "updated_at" = '2013-07-13 00:34:37.887583' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (3.5ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 00:34:37.908991' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 00:34:37.909770' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 6]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:34:38.042668' WHERE "commontator_subscriptions"."id" = 5[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 19:34:38 -0500 From: no-reply@example.com Message-ID: <51e0a09ec323_4b90f2efe0919d4@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 19:34:38 -0500 From: no-reply@example.com Message-ID: <51e0a09ee680_4b90f2efe09201a@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35m (1.0ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-07-13 00:34:38.155971', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:34:38.156459' WHERE "commontator_threads"."id" = 4 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1 [["id", 4]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "deleter_id", "deleter_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["deleter_id", nil], ["deleter_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:34:38.204978' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:34:38.205965' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 00:34:38.206836' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 00:34:38.210251' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:34:38.217129', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:34:38.218158' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:34:38.219901' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:34:38.226119', "updated_at" = '2013-07-13 00:34:38.227053' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:34:38.231878' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:34:38.233637', "updated_at" = '2013-07-13 00:34:38.234551' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:34:38.238473' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:34:38.285710', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:34:38.287020' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:34:38.290503' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:34:38.293717', "updated_at" = '2013-07-13 00:34:38.294915' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:34:38.309104', "updated_at" = '2013-07-13 00:34:38.310333' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:34:38.332074', "updated_at" = '2013-07-13 00:34:38.333416' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:34:38.343188' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:34:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.0ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:40 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:40 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:40 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:40 UTC +00:00]] [1m[35m (12.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:40 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:40 UTC +00:00]] [1m[36m (5.4ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:40 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:40 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:40 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:40 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:40 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:35:40 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:41 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:41 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:41 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:41 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:41 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:35:41 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["editor_id", 3], ["editor_type", "DummyUser"], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:35:42.463968' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35m (10.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35m (4.0ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36m (4.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (5.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35m (3.9ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36m (5.1ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Comment Load (0.2ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 1]] [1m[36mCommontator::Thread Load (0.2ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 2 LIMIT 1[0m [1m[35mDummyModel Load (0.2ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:35:42.545032' WHERE "commontator_subscriptions"."id" = 2 [1m[36m (4.2ms)[0m [1mcommit transaction[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (23.3ms) Sent mail to (28ms) Date: Fri, 12 Jul 2013 19:35:42 -0500 From: no-reply@example.com Message-ID: <51e0a0dea2ae6_4ba611a7fec48e@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 2 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35m (5.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35m (4.9ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36m (4.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 3], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1 [1m[36m (5.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:35:42.727080', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:35:42.728593' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 19ms (ActiveRecord: 1.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 30ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 00:35:42.798388' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 00:35:42.807777' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 00:35:42.849211' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 00:35:42.858370' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:35:42.948686', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:35:42.950191' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:35:42.960712' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.2ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.5ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:42 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (23.4ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.2ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 1]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 2]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "editor_id" = 5, "editor_type" = 'DummyUser', "body" = 'Something else', "updated_at" = '2013-07-13 00:35:43.169411' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:35:43.198176', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:35:43.199918' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 22ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:35:43.227201' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:35:43.240126', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:35:43.241321' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:35:43.247843' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:35:43.252964', "updated_at" = '2013-07-13 00:35:43.254359' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:35:43.260418' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:35:43.262971', "updated_at" = '2013-07-13 00:35:43.264848' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:35:43.271223' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Another thing' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Another thing"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'And this too' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "And this too"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:35:43.325222', "updated_at" = '2013-07-13 00:35:43.327325' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mCommontator::Subscription Load (26.4ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (3.6ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 00:35:43.447422' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 00:35:43.448236' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 6]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 25ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:35:43.584675' WHERE "commontator_subscriptions"."id" = 5[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 19:35:43 -0500 From: no-reply@example.com Message-ID: <51e0a0df908ab_4ba611a7fec5f1@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 19:35:43 -0500 From: no-reply@example.com Message-ID: <51e0a0df92d03_4ba611a7fec629@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:35:43.612391', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:35:43.613642' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:35:43.615650' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:35:43.705201' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:35:43.706122' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 00:35:43.706965' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 00:35:43.710360' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", 4]] [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-07-13 00:35:43.734088', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:35:43.734436' WHERE "commontator_threads"."id" = 4[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:35:43.785889', "updated_at" = '2013-07-13 00:35:43.787185' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:35:43.796317', "updated_at" = '2013-07-13 00:35:43.797347' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:35:43.807248' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:35:43.818600', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:35:43.819797' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:35:43.823081' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:35:43.825514', "updated_at" = '2013-07-13 00:35:43.826915' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:35:43.854382', "updated_at" = '2013-07-13 00:35:43.855652' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:35:43.859833' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:35:43.861670', "updated_at" = '2013-07-13 00:35:43.862868' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:35:43.866784' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:35:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00]] [1m[35m (14.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00]] [1m[36m (4.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00]] [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["editor_id", 3], ["editor_type", "DummyUser"], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:41:23.963212' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "editor_id" = 2, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:41:23.973377' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "editor_id" = 2, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:41:23.982525' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:23 UTC +00:00]] [1m[35m (8.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (5.0ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (4.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (5.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (4.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (4.9ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (5.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 3 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 3], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (4.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (4.7ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (5.3ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 2]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:41:24.106257' WHERE "commontator_subscriptions"."id" = 3 [1m[36m (5.8ms)[0m [1mcommit transaction[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (23.5ms) Sent mail to (29ms) Date: Fri, 12 Jul 2013 19:41:24 -0500 From: no-reply@example.com Message-ID: <51e0a2343a0fc_4c01627ff0687b@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 3 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:41:24.258744', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:41:24.260093' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.5ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:41:24.267278' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:41:24.271154', "editor_id" = 6, "updated_at" = '2013-07-13 00:41:24.272374' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:41:24.275135' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:41:24.278218', "updated_at" = '2013-07-13 00:41:24.279375' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 1]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 2]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:41:24.375910', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:41:24.377071' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:41:24.383777' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:41:24.388490', "updated_at" = '2013-07-13 00:41:24.389592' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:41:24.395139' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:41:24.396693', "updated_at" = '2013-07-13 00:41:24.397792' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:41:24.402675' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 00:41:24.550767' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.9ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 00:41:24.583748' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:41:24.598505', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:41:24.599722' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:41:24.608859' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 00:41:24.650396' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 00:41:24.659398' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 5ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:41:24.755699', "updated_at" = '2013-07-13 00:41:24.757287' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.3ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Another thing' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Another thing"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'And this too' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "And this too"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "editor_id" = 5, "editor_type" = 'DummyUser', "body" = 'Something else', "updated_at" = '2013-07-13 00:41:24.861661' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:41:24.910698', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:41:24.912151' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:41:24.939807' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (3.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 00:41:24.964617' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 00:41:24.965498' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:24 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 6]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:41:25.101701' WHERE "commontator_subscriptions"."id" = 5 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 19:41:25 -0500 From: no-reply@example.com Message-ID: <51e0a23520ad3_4c01627ff06881@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 19:41:25 -0500 From: no-reply@example.com Message-ID: <51e0a23522c6c_4c01627ff06897b@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:41:25.171457', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:41:25.172460' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.0ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:41:25.174217' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", 4]] [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-07-13 00:41:25.187748', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:41:25.188079' WHERE "commontator_threads"."id" = 4[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:41:25.248304' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:41:25.249369' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 00:41:25.250356' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 00:41:25.253980' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:41:25.278530', "updated_at" = '2013-07-13 00:41:25.279554' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:41:25.284833' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:41:25.286741', "updated_at" = '2013-07-13 00:41:25.287901' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:41:25.292248' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:41:25.327671', "updated_at" = '2013-07-13 00:41:25.329081' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:41:25.340619', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:41:25.342066' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:41:25.345794' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:41:25.348704', "updated_at" = '2013-07-13 00:41:25.350178' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:41:25.377723', "updated_at" = '2013-07-13 00:41:25.379230' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:41:25.389213' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (1.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:41:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (13.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36m (4.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["editor_id", 3], ["editor_type", "DummyUser"], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "editor_id" = 2, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:43:08.269775' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "editor_id" = 2, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:43:08.279490' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (6.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (4.8ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36m (3.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (4.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (3.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (4.4ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36m (4.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 3 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 3], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (5.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (4.3ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36m (4.9ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Comment Load (0.2ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 2]] [1m[36mCommontator::Thread Load (0.2ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1[0m [1m[35mDummyModel Load (0.2ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.2ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1[0m [1m[35m (0.2ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:43:08.423996' WHERE "commontator_subscriptions"."id" = 3 [1m[36m (4.6ms)[0m [1mcommit transaction[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (23.3ms) Sent mail to (28ms) Date: Fri, 12 Jul 2013 19:43:08 -0500 From: no-reply@example.com Message-ID: <51e0a29c873f1_4c2aedffe44778e@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 3 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:43:08.597591', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:43:08.598878' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 500 Internal Server Error in 4ms [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "editor_id" = 5, "editor_type" = 'DummyUser', "body" = 'Something else', "updated_at" = '2013-07-13 00:43:08.619287' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Another thing' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Another thing"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'And this too' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "And this too"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 1]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 2]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 00:43:08.874091' WHERE "votes"."id" = 1 [1m[36m (22.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.2ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 00:43:08.907913' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:43:08.956684', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:43:08.957984' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:43:08.970979', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:43:08.972253' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:08 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:43:08.995711', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:43:08.997164' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 11ms (ActiveRecord: 1.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 00:43:09.060358' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 00:43:09.069937' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:43:09.092192', "updated_at" = '2013-07-13 00:43:09.093645' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.3ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (3.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 00:43:09.267517' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 00:43:09.268332' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 6]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 22ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:43:09.404043' WHERE "commontator_subscriptions"."id" = 5 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 19:43:09 -0500 From: no-reply@example.com Message-ID: <51e0a29d6479c_4c2aedffe447866@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 19:43:09 -0500 From: no-reply@example.com Message-ID: <51e0a29d66b2c_4c2aedffe447934@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (1.4ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:43:09.544920' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:43:09.545866' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 00:43:09.546730' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 00:43:09.550211' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:43:09.557353', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:43:09.558422' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:43:09.560204' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-07-13 00:43:09.578875', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:43:09.579218' WHERE "commontator_threads"."id" = 4 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1 [["id", 4]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:43:09.598449', "updated_at" = '2013-07-13 00:43:09.599688' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:43:09.608172', "updated_at" = '2013-07-13 00:43:09.609125' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:43:09.619078' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:43:09.640594', "updated_at" = '2013-07-13 00:43:09.661055' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:43:09.665373' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:43:09.667134', "updated_at" = '2013-07-13 00:43:09.668341' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:43:09.672479' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:43:09.701734', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:43:09.703123' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:43:09.706464' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:43:09.709138', "updated_at" = '2013-07-13 00:43:09.710416' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:43:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35m (14.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36m (5.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "editor_id" = 2, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:44:34.525096' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "editor_id" = 2, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:44:34.535193' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["editor_id", 3], ["editor_type", "DummyUser"], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:44:34.545326' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35m (8.4ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35m (4.4ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36m (4.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (4.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35m (3.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35m (4.9ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36m (4.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 3 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 3], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (4.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35m (3.9ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36m (5.1ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 2]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:44:34.644826' WHERE "commontator_subscriptions"."id" = 3 [1m[36m (4.5ms)[0m [1mcommit transaction[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (23.8ms) Sent mail to (29ms) Date: Fri, 12 Jul 2013 19:44:34 -0500 From: no-reply@example.com Message-ID: <51e0a2f2bcb55_4c4a675fe8196b6@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 3 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (21.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 1]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 2]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:34 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 00:44:34.980709' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 00:44:35.007871' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 28ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 00:44:35.053087' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 00:44:35.062995' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 31ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "editor_id" = 5, "editor_type" = 'DummyUser', "body" = 'Something else', "updated_at" = '2013-07-13 00:44:35.236911' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 24ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Another thing' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Another thing"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'And this too' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "And this too"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:44:35.309671', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:44:35.311068' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:44:35.378714', "updated_at" = '2013-07-13 00:44:35.380221' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 26ms (ActiveRecord: 0.1ms) [1m[35m (1.2ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (3.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 00:44:35.429423' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 00:44:35.430218' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 6]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:44:35.561933' WHERE "commontator_subscriptions"."id" = 5 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 19:44:35 -0500 From: no-reply@example.com Message-ID: <51e0a2f38afff_4c4a675fe8197c2@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 19:44:35 -0500 From: no-reply@example.com Message-ID: <51e0a2f38d2fe_4c4a675fe8198aa@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:44:35.595090', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:44:35.596501' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:44:35.598742' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", 4]] [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-07-13 00:44:35.609553', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:44:35.610012' WHERE "commontator_threads"."id" = 4[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (24.7ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:44:35.741941' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:44:35.742884' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 00:44:35.743749' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 00:44:35.747177' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:44:35.758229', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:44:35.759398' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:44:35.762455' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:44:35.765071', "updated_at" = '2013-07-13 00:44:35.766118' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:44:35.798473', "updated_at" = '2013-07-13 00:44:35.799734' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:44:35.808126', "updated_at" = '2013-07-13 00:44:35.809119' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:44:35.813316' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:44:35.815020', "updated_at" = '2013-07-13 00:44:35.815984' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:44:35.819723' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:44:35.838451', "updated_at" = '2013-07-13 00:44:35.859103' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:44:35.869339' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:44:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[35m (12.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[36m (4.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["editor_id", 3], ["editor_type", "DummyUser"], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:46:51.856852' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "editor_id" = 2, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:46:51.868055' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "editor_id" = 2, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:46:51.879427' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[35m (7.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[35m (3.9ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[36m (5.4ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (4.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[35m (3.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[35m (4.1ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[36m (4.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 3 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 3], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.2ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (5.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[35m (4.2ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:51 UTC +00:00]] [1m[36m (4.9ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Comment Load (0.2ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 2]] [1m[36mCommontator::Thread Load (0.2ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1[0m [1m[35mDummyModel Load (0.2ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1[0m [1m[35m (0.2ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:46:51.997221' WHERE "commontator_subscriptions"."id" = 3 [1m[36m (5.7ms)[0m [1mcommit transaction[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (23.4ms) Sent mail to (29ms) Date: Fri, 12 Jul 2013 19:46:52 -0500 From: no-reply@example.com Message-ID: <51e0a37c1e5bf_4c5bb8efe8717a@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 3 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.6ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Another thing' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Another thing"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'And this too' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "And this too"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 1]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 13ms (ActiveRecord: 1.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 2]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 27ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:46:52.380240', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:46:52.381933' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:46:52.393174' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.3ms) [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_comments" WHERE "commontator_comments"."id" = 3 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mDummyModel Load (0.2ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 29ms (ActiveRecord: 0.3ms) [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:46:52.486740', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:46:52.488264' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:46:52.497668' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:46:52.537730', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:46:52.538914' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:46:52.544990' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:46:52.548086', "editor_id" = 6, "updated_at" = '2013-07-13 00:46:52.549239' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 5, "updated_at" = '2013-07-13 00:46:52.552059' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:46:52.555101', "editor_id" = 6, "updated_at" = '2013-07-13 00:46:52.556280' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:46:52.571283', "updated_at" = '2013-07-13 00:46:52.572697' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "editor_id" = 5, "editor_type" = 'DummyUser', "body" = 'Something else', "updated_at" = '2013-07-13 00:46:52.608636' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 00:46:52.709327' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 00:46:52.719531' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (23.9ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 35ms (ActiveRecord: 24.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:46:52.759334', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:46:52.760529' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:46:52.766954' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:46:52.771549', "updated_at" = '2013-07-13 00:46:52.772676' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 6, "updated_at" = '2013-07-13 00:46:52.777204' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:46:52.778760', "editor_id" = 5, "updated_at" = '2013-07-13 00:46:52.780007' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 6, "updated_at" = '2013-07-13 00:46:52.784636' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 00:46:52.819834' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 00:46:52.828896' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (20.0ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 00:46:52.885027' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 00:46:52.885820' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 6]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:46:53.023876' WHERE "commontator_subscriptions"."id" = 5[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 19:46:53 -0500 From: no-reply@example.com Message-ID: <51e0a37dd800_4c5bb8efe8718c5@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (1.3ms)[0m RELEASE SAVEPOINT active_record_1 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 19:46:53 -0500 From: no-reply@example.com Message-ID: <51e0a37dffb9_4c5bb8efe871973@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:46:53.101365' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:46:53.102311' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 00:46:53.103204' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 00:46:53.106597' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", 4]] [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-07-13 00:46:53.153038', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:46:53.153386' WHERE "commontator_threads"."id" = 4[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:46:53.192914', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:46:53.194347' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:46:53.196611' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:46:53.220623', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:46:53.221942' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:46:53.225376' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:46:53.228442', "updated_at" = '2013-07-13 00:46:53.229814' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:46:53.237194', "updated_at" = '2013-07-13 00:46:53.238424' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:46:53.242956' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:46:53.244728', "updated_at" = '2013-07-13 00:46:53.245989' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:46:53.250813' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:46:53.258343', "updated_at" = '2013-07-13 00:46:53.259662' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:46:53.269388' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 20ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:46:53.306689', "updated_at" = '2013-07-13 00:46:53.308302' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:46:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (12.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (4.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "editor_id" = 2, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:49:22.165093' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "editor_id" = 2, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:49:22.175299' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["editor_id", 3], ["editor_type", "DummyUser"], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:49:22.185775' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (7.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (3.9ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (3.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (5.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (4.0ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (4.7ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Comment Load (0.2ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 1]] [1m[36mCommontator::Thread Load (0.2ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 2 LIMIT 1[0m [1m[35mDummyModel Load (0.2ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mDummyUser Load (0.2ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (0.2ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:49:22.260361' WHERE "commontator_subscriptions"."id" = 2 [1m[36m (5.0ms)[0m [1mcommit transaction[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (24.2ms) Sent mail to (29ms) Date: Fri, 12 Jul 2013 19:49:22 -0500 From: no-reply@example.com Message-ID: <51e0a4125fadd_4c6da92fe014645@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 2 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (7.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (4.6ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (4.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 3], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1 [1m[36m (5.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:49:22.485163', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:49:22.486655' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:49:22.497482' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 30ms (ActiveRecord: 0.6ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Another thing' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Another thing"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'And this too' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "And this too"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:49:22.564971', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:49:22.566177' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:49:22.572218' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:49:22.575275', "editor_id" = 6, "updated_at" = '2013-07-13 00:49:22.576422' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 5, "updated_at" = '2013-07-13 00:49:22.579255' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:49:22.582438', "editor_id" = 6, "updated_at" = '2013-07-13 00:49:22.583621' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 22ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 00:49:22.633428' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 00:49:22.642524' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.6ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 29ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "editor_id" = 5, "editor_type" = 'DummyUser', "body" = 'Something else', "updated_at" = '2013-07-13 00:49:22.793341' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 1ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:49:22.836426', "updated_at" = '2013-07-13 00:49:22.837899' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 00:49:22.875347' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 00:49:22.903222' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 29ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 1]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 2]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (1.5ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 29ms (ActiveRecord: 1.7ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:49:23.099953', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:49:23.101155' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:49:23.108293' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:49:23.113133', "updated_at" = '2013-07-13 00:49:23.114262' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 6, "updated_at" = '2013-07-13 00:49:23.119631' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:49:23.121181', "editor_id" = 5, "updated_at" = '2013-07-13 00:49:23.122303' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 6, "updated_at" = '2013-07-13 00:49:23.126779' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:49:23.148571', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:49:23.149884' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:49:23.159373' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:49:23.164425', "updated_at" = '2013-07-13 00:49:23.165578' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:49:23.171208' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (3.5ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 00:49:23.192175' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 00:49:23.192950' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 6]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:49:23.329467' WHERE "commontator_subscriptions"."id" = 5[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 19:49:23 -0500 From: no-reply@example.com Message-ID: <51e0a413570e2_4c6da92fe01473@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 19:49:23 -0500 From: no-reply@example.com Message-ID: <51e0a41359539_4c6da92fe01489f@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:49:23.456215' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:49:23.457162' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 00:49:23.458031' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 00:49:23.461537' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-07-13 00:49:23.472561', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:49:23.472911' WHERE "commontator_threads"."id" = 4 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1 [["id", 4]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:49:23.498961', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:49:23.519724' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:49:23.522153' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:49:23.547485', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:49:23.548874' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:49:23.552081' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:49:23.554859', "updated_at" = '2013-07-13 00:49:23.555953' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:49:23.563498', "updated_at" = '2013-07-13 00:49:23.564852' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:49:23.569367' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:49:23.571364', "updated_at" = '2013-07-13 00:49:23.572565' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:49:23.577172' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:49:23.604572', "updated_at" = '2013-07-13 00:49:23.605593' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:49:23.615403' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 21ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:49:23.652289', "updated_at" = '2013-07-13 00:49:23.653694' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:23 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35m (12.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36m (4.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "editor_id" = 2, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:49:58.469511' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["editor_id", 3], ["editor_type", "DummyUser"], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:49:58.480741' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.2ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "editor_id" = 2, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:49:58.509638' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35m (6.4ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35m (4.8ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36m (5.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (5.4ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35m (4.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35m (4.9ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36m (5.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 3 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 3], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (5.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35m (4.5ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36m (4.9ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Comment Load (0.2ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 2]] [1m[36mCommontator::Thread Load (0.2ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1[0m [1m[35mDummyModel Load (0.2ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.2ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:49:58.645915' WHERE "commontator_subscriptions"."id" = 3 [1m[36m (4.6ms)[0m [1mcommit transaction[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (23.7ms) Sent mail to (29ms) Date: Fri, 12 Jul 2013 19:49:58 -0500 From: no-reply@example.com Message-ID: <51e0a436bc97e_4c7b38f7e888eb@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 3 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 23ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 00:49:58.878485' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 00:49:58.887655' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:58 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 23ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Another thing' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Another thing"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'And this too' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "And this too"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:49:59.050951', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:49:59.052463' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:49:59.059775' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.5ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:49:59.065036', "updated_at" = '2013-07-13 00:49:59.066427' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 6, "updated_at" = '2013-07-13 00:49:59.072398' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:49:59.074296', "editor_id" = 5, "updated_at" = '2013-07-13 00:49:59.075749' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 6, "updated_at" = '2013-07-13 00:49:59.081524' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (23.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "editor_id" = 5, "editor_type" = 'DummyUser', "body" = 'Something else', "updated_at" = '2013-07-13 00:49:59.120642' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:49:59.165698', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:49:59.167219' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:49:59.176509' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:49:59.192070', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:49:59.193235' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:49:59.199261' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:49:59.202402', "editor_id" = 6, "updated_at" = '2013-07-13 00:49:59.203668' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 5, "updated_at" = '2013-07-13 00:49:59.206545' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:49:59.209682', "editor_id" = 6, "updated_at" = '2013-07-13 00:49:59.210800' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 1]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 2]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:49:59.347159', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:49:59.348778' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 21ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:49:59.377935' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:49:59.383508', "updated_at" = '2013-07-13 00:49:59.384876' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:49:59.391520' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.6ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:49:59.407743', "updated_at" = '2013-07-13 00:49:59.409188' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 00:49:59.450484' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 00:49:59.460700' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (20.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 00:49:59.519794' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 00:49:59.520643' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 6]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:49:59.658692' WHERE "commontator_subscriptions"."id" = 5 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 19:49:59 -0500 From: no-reply@example.com Message-ID: <51e0a437a28d8_4c7b38f7e889c7@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 19:49:59 -0500 From: no-reply@example.com Message-ID: <51e0a437a4ba5_4c7b38f7e890a7@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:49:59.696584' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:49:59.697600' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 00:49:59.698475' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 00:49:59.702082' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-07-13 00:49:59.734631', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:49:59.735040' WHERE "commontator_threads"."id" = 4 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1 [["id", 4]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:49:59.815746', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:49:59.817036' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:49:59.818852' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:49:59.843980', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:49:59.845327' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:49:59.848754' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:49:59.851722', "updated_at" = '2013-07-13 00:49:59.852911' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:49:59.867335', "updated_at" = '2013-07-13 00:49:59.868626' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.2ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 24ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:49:59.917324', "updated_at" = '2013-07-13 00:49:59.918308' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:49:59.928796' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:49:59.937924', "updated_at" = '2013-07-13 00:49:59.939136' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:49:59.943261' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:49:59.944966', "updated_at" = '2013-07-13 00:49:59.945948' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:49:59.949426' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:49:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.0ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[35m (14.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[36m (4.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "editor_id" = 2, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:51:50.894818' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["editor_id", 3], ["editor_type", "DummyUser"], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:51:50.905719' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "editor_id" = 2, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:51:50.944791' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[35m (7.3ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[35m (4.7ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[36m (4.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (5.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:50 UTC +00:00]] [1m[35m (4.4ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (4.4ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (5.4ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 3 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 3], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (4.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (4.4ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (5.2ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 2]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:51:51.049458' WHERE "commontator_subscriptions"."id" = 3 [1m[36m (4.4ms)[0m [1mcommit transaction[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (23.2ms) Sent mail to (28ms) Date: Fri, 12 Jul 2013 19:51:51 -0500 From: no-reply@example.com Message-ID: <51e0a4a72aaf4_4c849b67e8953a7@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 3 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 24ms (ActiveRecord: 1.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.2ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 30ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 00:51:51.266398' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 00:51:51.275658' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 19ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 00:51:51.458655' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 00:51:51.468335' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (23.5ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:51:51.507439', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:51:51.508896' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:51:51.519443' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:51:51.525419', "editor_id" = 6, "updated_at" = '2013-07-13 00:51:51.526581' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 5, "updated_at" = '2013-07-13 00:51:51.534526' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:51:51.535123', "updated_at" = '2013-07-13 00:51:51.536221' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "editor_id" = 5, "editor_type" = 'DummyUser', "body" = 'Something else', "updated_at" = '2013-07-13 00:51:51.577175' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 21ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:51:51.642739', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:51:51.644185' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:51:51.651389' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.6ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:51:51.656865', "updated_at" = '2013-07-13 00:51:51.658123' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 6, "updated_at" = '2013-07-13 00:51:51.663283' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:51:51.665192', "editor_id" = 5, "updated_at" = '2013-07-13 00:51:51.666631' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 6, "updated_at" = '2013-07-13 00:51:51.672017' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:51:51.686224', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:51:51.687825' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:51:51.695308' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:51:51.700224', "editor_id" = 6, "updated_at" = '2013-07-13 00:51:51.701797' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 5, "updated_at" = '2013-07-13 00:51:51.705436' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:51:51.709052', "editor_id" = 6, "updated_at" = '2013-07-13 00:51:51.710275' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:51:51.726526', "updated_at" = '2013-07-13 00:51:51.728009' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 23ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 1]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (1.0ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 34ms (ActiveRecord: 1.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 2]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Another thing' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Another thing"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'And this too' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "And this too"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 00:51:51.890129', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 00:51:51.891619' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 00:51:51.900712' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (3.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 00:51:51.924447' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 00:51:51.925206' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 6]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:51:52.060786' WHERE "commontator_subscriptions"."id" = 5[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 19:51:52 -0500 From: no-reply@example.com Message-ID: <51e0a4a8154c9_4c849b67e89548d@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 19:51:52 -0500 From: no-reply@example.com Message-ID: <51e0a4a8178c8_4c849b67e895564@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-07-13 00:51:52.187551', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:51:52.187898' WHERE "commontator_threads"."id" = 4 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1 [["id", 4]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:51:52.206674' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 00:51:52.207581' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 00:51:52.208425' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 00:51:52.211796' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:51:52.228183', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:51:52.229163' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:51:52.249626' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:51:52.279429', "updated_at" = '2013-07-13 00:51:52.280762' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:51:52.289975', "updated_at" = '2013-07-13 00:51:52.291141' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:51:52.295572' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:51:52.297327', "updated_at" = '2013-07-13 00:51:52.298285' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:51:52.302128' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:51:52.330748', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 00:51:52.331926' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:51:52.335443' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:51:52.338206', "updated_at" = '2013-07-13 00:51:52.339487' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 00:51:52.347260', "updated_at" = '2013-07-13 00:51:52.348542' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 21ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 00:51:52.377768' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 00:51:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.0ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (13.3ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (5.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "editor_id" = 2, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 01:05:47.179158' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "editor_id" = 2, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 01:05:47.188818' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["editor_id", 3], ["editor_type", "DummyUser"], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 01:05:47.198664' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (7.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mDummyModel Load (0.2ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (5.1ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (4.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (5.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (4.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (4.0ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (3.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 3 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 3], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (4.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (3.8ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (3.9ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Comment Load (0.2ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 2]] [1m[36mCommontator::Thread Load (0.2ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 01:05:47.333395' WHERE "commontator_subscriptions"."id" = 3 [1m[36m (3.6ms)[0m [1mcommit transaction[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (23.7ms) Sent mail to (29ms) Date: Fri, 12 Jul 2013 20:05:47 -0500 From: no-reply@example.com Message-ID: <51e0a7eb6f5df_4dacacbfe899777@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 3 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "editor_id" = 5, "editor_type" = 'DummyUser', "body" = 'Something else', "updated_at" = '2013-07-13 01:05:47.507067' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.7ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.3ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 26ms (ActiveRecord: 0.5ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:05:47.582070', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 01:05:47.583324' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 01:05:47.594338' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:05:47.600491', "editor_id" = 6, "updated_at" = '2013-07-13 01:05:47.601658' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 5, "updated_at" = '2013-07-13 01:05:47.609690' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:05:47.610301', "updated_at" = '2013-07-13 01:05:47.611402' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:05:47.679387', "updated_at" = '2013-07-13 01:05:47.681042' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 21ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.6ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 31ms (ActiveRecord: 1.2ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Another thing' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Another thing"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'And this too' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "And this too"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:05:47.892555', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 01:05:47.894070' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 01:05:47.903276' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (18.0ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 1]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 2]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:47 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:05:48.001498', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 01:05:48.002843' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 01:05:48.010760' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.6ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:05:48.015990', "updated_at" = '2013-07-13 01:05:48.017204' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 6, "updated_at" = '2013-07-13 01:05:48.022783' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:05:48.024673', "editor_id" = 5, "updated_at" = '2013-07-13 01:05:48.026032' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 6, "updated_at" = '2013-07-13 01:05:48.031402' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 29ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 01:05:48.089740' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 01:05:48.099794' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (1.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 35ms (ActiveRecord: 1.7ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:05:48.143685', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 01:05:48.144861' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 01:05:48.151034' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:05:48.154386', "editor_id" = 6, "updated_at" = '2013-07-13 01:05:48.155722' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 5, "updated_at" = '2013-07-13 01:05:48.158848' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:05:48.163114', "editor_id" = 6, "updated_at" = '2013-07-13 01:05:48.164673' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 01:05:48.201187' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 01:05:48.210284' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (3.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 01:05:48.236599' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 01:05:48.237389' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 6]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 01:05:48.373958' WHERE "commontator_subscriptions"."id" = 5[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (22ms) Date: Fri, 12 Jul 2013 20:05:48 -0500 From: no-reply@example.com Message-ID: <51e0a7ec61b62_4dacacbfe899891@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 20:05:48 -0500 From: no-reply@example.com Message-ID: <51e0a7ec63f6c_4dacacbfe899911@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (25.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 01:05:48.468639' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 01:05:48.469557' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 01:05:48.470405' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 01:05:48.473852' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-07-13 01:05:48.484961', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 01:05:48.485317' WHERE "commontator_threads"."id" = 4 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1 [["id", 4]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:05:48.541098', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 01:05:48.542090' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 01:05:48.562380' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:05:48.569502', "updated_at" = '2013-07-13 01:05:48.570719' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 01:05:48.576206' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:05:48.578078', "updated_at" = '2013-07-13 01:05:48.579310' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 01:05:48.583867' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:05:48.611454', "updated_at" = '2013-07-13 01:05:48.612663' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 01:05:48.621923' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:05:48.639676', "updated_at" = '2013-07-13 01:05:48.641140' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:05:48.671445', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 01:05:48.673316' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 01:05:48.678961' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:05:48.701393', "updated_at" = '2013-07-13 01:05:48.702813' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:05:48 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.0ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35m (12.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (5.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "editor_id" = 2, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 01:19:14.247467' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["editor_id", 3], ["editor_type", "DummyUser"], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 01:19:14.312919' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "editor_id" = 2, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 01:19:14.322320' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35m (10.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35m (6.0ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (4.4ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (5.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35m (4.2ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (4.9ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Comment Load (0.2ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 1]] [1m[36mCommontator::Thread Load (0.2ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 2 LIMIT 1[0m [1m[35mDummyModel Load (0.2ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (0.2ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 01:19:14.411514' WHERE "commontator_subscriptions"."id" = 2 [1m[36m (4.9ms)[0m [1mcommit transaction[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (23.4ms) Sent mail to (28ms) Date: Fri, 12 Jul 2013 20:19:14 -0500 From: no-reply@example.com Message-ID: <51e0ab128543b_4ea8d44fe09552a@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 2 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35m (7.4ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35m (5.0ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (4.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 4 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["creator_id", 4], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 3], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1 [1m[36m (13.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:19:14.622918', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 01:19:14.624434' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 01:19:14.635164' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.0ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 23ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 11ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:19:14.728092', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 01:19:14.729285' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 01:19:14.735377' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:19:14.738465', "editor_id" = 6, "updated_at" = '2013-07-13 01:19:14.739609' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 5, "updated_at" = '2013-07-13 01:19:14.742352' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:19:14.745384', "editor_id" = 6, "updated_at" = '2013-07-13 01:19:14.746505' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 18ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 01:19:14.791082' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 01:19:14.818039' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 28ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:19:14.848566', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 01:19:14.849941' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 01:19:14.861040' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:19:14.867426', "editor_id" = 6, "updated_at" = '2013-07-13 01:19:14.869003' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 5, "updated_at" = '2013-07-13 01:19:14.878119' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:19:14.878793', "updated_at" = '2013-07-13 01:19:14.880282' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (22.9ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.4ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 28ms (ActiveRecord: 23.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "editor_id" = 5, "editor_type" = 'DummyUser', "body" = 'Something else', "updated_at" = '2013-07-13 01:19:14.923225' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 1]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:14 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 2]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Another thing' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Another thing"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'And this too' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "And this too"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 11ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 01:19:15.099679' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 01:19:15.109042' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:19:15.124863', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 01:19:15.126186' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 01:19:15.133186' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:19:15.138394', "updated_at" = '2013-07-13 01:19:15.139687' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 6, "updated_at" = '2013-07-13 01:19:15.145349' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:19:15.147209', "editor_id" = 5, "updated_at" = '2013-07-13 01:19:15.148404' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 6, "updated_at" = '2013-07-13 01:19:15.153900' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (18.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (1.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:19:15.331005', "updated_at" = '2013-07-13 01:19:15.332458' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 21ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (3.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 01:19:15.375094' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 01:19:15.376146' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 6]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 21ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (1.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 01:19:15.540463' WHERE "commontator_subscriptions"."id" = 5[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 20:19:15 -0500 From: no-reply@example.com Message-ID: <51e0ab1385ac3_4ea8d44fe09566d@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (3ms) Date: Fri, 12 Jul 2013 20:19:15 -0500 From: no-reply@example.com Message-ID: <51e0ab1387c4a_4ea8d44fe09577a@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 01:19:15.593763' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 01:19:15.594684' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 01:19:15.595545' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 01:19:15.598938' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:19:15.638919', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 01:19:15.639933' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 01:19:15.660788' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-07-13 01:19:15.671871', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 01:19:15.672329' WHERE "commontator_threads"."id" = 4 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1 [["id", 4]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:19:15.698553', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 01:19:15.699946' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 01:19:15.703663' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:19:15.706796', "updated_at" = '2013-07-13 01:19:15.707984' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:19:15.750101', "updated_at" = '2013-07-13 01:19:15.751358' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 01:19:15.762534' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:19:15.799576', "updated_at" = '2013-07-13 01:19:15.800880' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:19:15.809484', "updated_at" = '2013-07-13 01:19:15.810673' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 01:19:15.814607' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:19:15.816292', "updated_at" = '2013-07-13 01:19:15.817245' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 01:19:15.820612' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (1.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m Connecting to database specified by database.yml [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (3.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:16 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:16 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 1 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 1 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 1], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:16 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:16 UTC +00:00]] [1m[35m (13.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:16 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:16 UTC +00:00]] [1m[36m (4.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:16 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:16 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:16 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:16 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:16 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:16 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "body" = 'Something else', "editor_id" = 2, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 01:20:17.020858' WHERE "commontator_comments"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["editor_id", 3], ["editor_type", "DummyUser"], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 01:20:17.032295' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 1 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "body" = 'Something else', "editor_id" = 2, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 01:20:17.040797' WHERE "commontator_comments"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (7.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 2 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 2 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 2], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (4.7ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 2 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 2 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["subscriber_id", 2], ["subscriber_type", "DummyUser"], ["thread_id", 2], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (4.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 2 AND "commontator_comments"."thread_id" = 2) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 2], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 2], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 2[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 2 LIMIT 1 [1m[36m (4.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (3.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 3 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 3], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (5.1ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.2ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 3) LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["subscriber_id", 3], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (4.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 3 AND "commontator_comments"."thread_id" = 3) LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 3], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 3], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36m (4.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (3.1ms)[0m commit transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 3 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 3 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["subscriber_id", 4], ["subscriber_type", "DummyUser"], ["thread_id", 3], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (4.5ms)[0m [1mcommit transaction[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", 2]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 3 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 3[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 3 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 01:20:17.173309' WHERE "commontator_subscriptions"."id" = 3 [1m[36m (3.9ms)[0m [1mcommit transaction[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (23.3ms) Sent mail to (29ms) Date: Fri, 12 Jul 2013 20:20:17 -0500 From: no-reply@example.com Message-ID: <51e0ab514bd21_4ecf12457ec25656@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 3 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:20:17.354870', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 01:20:17.356184' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 01:20:17.363218' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 7ms (ActiveRecord: 0.5ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:20:17.368941', "updated_at" = '2013-07-13 01:20:17.370075' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 6, "updated_at" = '2013-07-13 01:20:17.375409' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:20:17.376949', "editor_id" = 5, "updated_at" = '2013-07-13 01:20:17.378072' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.0ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 6, "updated_at" = '2013-07-13 01:20:17.382602' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (21.9ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.2ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 26ms (ActiveRecord: 22.3ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:20:17.437312', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 01:20:17.438508' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 01:20:17.448097' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:20:17.454132', "editor_id" = 6, "updated_at" = '2013-07-13 01:20:17.455319' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 5, "updated_at" = '2013-07-13 01:20:17.463323' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:20:17.463938', "updated_at" = '2013-07-13 01:20:17.465026' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#undelete as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "editor_id" = 5, "editor_type" = 'DummyUser', "body" = 'Something else', "updated_at" = '2013-07-13 01:20:17.482817' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#update as HTML Parameters: {"id"=>"3", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:20:17.507440', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 01:20:17.508735' WHERE "commontator_comments"."id" = 3 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 01:20:17.514978' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:20:17.518751', "editor_id" = 6, "updated_at" = '2013-07-13 01:20:17.519903' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "editor_id" = 5, "updated_at" = '2013-07-13 01:20:17.522688' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.0ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:20:17.525776', "editor_id" = 6, "updated_at" = '2013-07-13 01:20:17.526903' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = '2013-07-13 01:20:17.562388', "editor_id" = 5, "editor_type" = 'DummyUser', "updated_at" = '2013-07-13 01:20:17.563986' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_comments" SET "deleted_at" = NULL, "updated_at" = '2013-07-13 01:20:17.574141' WHERE "commontator_comments"."id" = 3[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#delete as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 23ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.7ms) [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 01:20:17.691938' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#upvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 01:20:17.701401' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:20:17.725054', "updated_at" = '2013-07-13 01:20:17.726464' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.7ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "votes" SET "vote_flag" = 't', "updated_at" = '2013-07-13 01:20:17.764669' WHERE "votes"."id" = 1 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "votes" SET "vote_flag" = 'f', "updated_at" = '2013-07-13 01:20:17.773715' WHERE "votes"."id" = 1[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Processing by Commontator::CommentsController#new as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 1ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 5 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 5], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#edit as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 ORDER BY "commontator_comments"."id" DESC LIMIT 1[0m Completed 403 Forbidden in 4ms (ActiveRecord: 0.4ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Another thing' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Another thing"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something else"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'And this too' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "And this too"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 6ms (ActiveRecord: 0.5ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", true], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36mActsAsVotable::Vote Load (0.1ms)[0m [1mSELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "votes" WHERE "votes"."id" = ?[0m [["id", 1]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 35ms (ActiveRecord: 1.0ms) [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "votes" ("created_at", "updated_at", "votable_id", "votable_type", "vote_flag", "vote_scope", "voter_id", "voter_type") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["votable_id", 3], ["votable_type", "Commontator::Comment"], ["vote_flag", false], ["vote_scope", nil], ["voter_id", 6], ["voter_type", "DummyUser"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment'[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 Processing by Commontator::CommentsController#unvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser'[0m [1m[35mActsAsVotable::Vote Load (0.1ms)[0m SELECT "votes".* FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."voter_id" = 6 AND "votes"."vote_scope" IS NULL AND "votes"."voter_type" = 'DummyUser' [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "votes" WHERE "votes"."id" = ? [["id", 2]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."id" != 3 AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 9ms (ActiveRecord: 0.8ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:17 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Processing by Commontator::CommentsController#create as HTML Parameters: {"thread_id"=>"4", "comment"=>{"body"=>"Something"}} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[36mCommontator::Comment Load (0.0ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1[0m [["id", "3"]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 Completed 403 Forbidden in 3ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::CommentsController#downvote as HTML Parameters: {"id"=>"3"} [1m[35mCommontator::Comment Load (0.0ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."id" = ? LIMIT 1 [["id", "3"]] [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 't' AND "votes"."vote_scope" IS NULL[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "votes" WHERE "votes"."votable_id" = 3 AND "votes"."votable_type" = 'Commontator::Comment' AND "votes"."vote_flag" = 'f' AND "votes"."vote_scope" IS NULL [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (1.6ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 1], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 01:20:18.046998' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 01:20:18.047813' WHERE "commontator_subscriptions"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m DELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ? [["id", 4]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 22ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#destroy as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 6]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.3ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.5ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 5ms (ActiveRecord: 0.4ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 1ms (ActiveRecord: 0.1ms) [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::SubscriptionsController#create as HTML Parameters: {"thread_id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 01:20:18.186848' WHERE "commontator_subscriptions"."id" = 5 Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (4ms) Date: Fri, 12 Jul 2013 20:20:18 -0500 From: no-reply@example.com Message-ID: <51e0ab522f676_4ecf12457ec25786@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Rendered /home/dantemss/Desktop/commontator/app/views/commontator/comments/_body.html.erb (0.1ms) Sent mail to (22ms) Date: Fri, 12 Jul 2013 20:20:18 -0500 From: no-reply@example.com Message-ID: <51e0ab52366b7_4ecf12457ec258ad@ubuntu.mail> Subject: Anonymous posted a dummy comment on dummy model 4 Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitSomething
Click here to visit this thread.
[1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Comment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something else' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Something else"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 7 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mDELETE FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."id" = ?[0m [["id", 4]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 8 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:20:18.291014', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 01:20:18.292082' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 01:20:18.293853' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_comments" WHERE ("commontator_comments"."body" = 'Something' AND "commontator_comments"."creator_type" = 'DummyUser' AND "commontator_comments"."creator_id" = 5 AND "commontator_comments"."thread_id" = 4) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_comments" ("body", "cached_votes_down", "cached_votes_total", "cached_votes_up", "created_at", "creator_id", "creator_type", "deleted_at", "editor_id", "editor_type", "thread_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "Something"], ["cached_votes_down", 0], ["cached_votes_total", 0], ["cached_votes_up", 0], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["creator_id", 5], ["creator_type", "DummyUser"], ["deleted_at", nil], ["editor_id", nil], ["editor_type", nil], ["thread_id", 4], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", 4]] [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "commontable_id" = NULL, "commontable_type" = NULL, "closed_at" = '2013-07-13 01:20:18.303240', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 01:20:18.303573' WHERE "commontator_threads"."id" = 4[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Comment Load (0.1ms)[0m SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 4 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = ? LIMIT 1[0m [["id", 4]] [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mCommontator::Comment Load (0.1ms)[0m [1mSELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 5[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.0ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."thread_id" = 4[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 01:20:18.339886' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 1, "updated_at" = '2013-07-13 01:20:18.340796' WHERE "commontator_subscriptions"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_subscriptions" SET "unread" = 2, "updated_at" = '2013-07-13 01:20:18.341640' WHERE "commontator_subscriptions"."id" = 5 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_subscriptions" SET "unread" = 0, "updated_at" = '2013-07-13 01:20:18.345033' WHERE "commontator_subscriptions"."id" = 5[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 5) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["subscriber_id", 5], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Subscription Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_subscriptions" WHERE ("commontator_subscriptions"."thread_id" = 4 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."subscriber_id" = 6) LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_subscriptions" ("created_at", "subscriber_id", "subscriber_type", "thread_id", "unread", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["subscriber_id", 6], ["subscriber_type", "DummyUser"], ["thread_id", 4], ["unread", 0], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1 [1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 5 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 6 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = 4 LIMIT 1[0m [1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 6 LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 23ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 3ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:20:18.403376', "updated_at" = '2013-07-13 01:20:18.404512' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 01:20:18.415145' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Completed 403 Forbidden in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:20:18.432484', "updated_at" = '2013-07-13 01:20:18.433833' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 2ms (ActiveRecord: 0.1ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:20:18.442825', "updated_at" = '2013-07-13 01:20:18.444156' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 01:20:18.448579' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:20:18.450404', "updated_at" = '2013-07-13 01:20:18.451472' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#reopen as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36m (0.1ms)[0m [1mUPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 01:20:18.455296' WHERE "commontator_threads"."id" = 4[0m [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.2ms) [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:20:18.464221', "closer_id" = 5, "closer_type" = 'DummyUser', "updated_at" = '2013-07-13 01:20:18.465281' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 3ms (ActiveRecord: 0.2ms) [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = NULL, "updated_at" = '2013-07-13 01:20:18.468581' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by Commontator::ThreadsController#close as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."id" != 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35m (0.1ms)[0m UPDATE "commontator_threads" SET "closed_at" = '2013-07-13 01:20:18.471286', "updated_at" = '2013-07-13 01:20:18.472628' WHERE "commontator_threads"."id" = 4 [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://test.host/commontator/threads/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[35mCommontator::Thread Load (0.0ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1 [["id", "4"]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Load (0.1ms)[0m SELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1 [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Subscription Load (0.1ms)[0m SELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1 Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Processing by Commontator::ThreadsController#show as HTML Parameters: {"id"=>"4"} [1m[36mCommontator::Thread Load (0.0ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."id" = ? LIMIT 1[0m [["id", "4"]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Load (0.1ms)[0m [1mSELECT "commontator_threads".* FROM "commontator_threads" WHERE "commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel' LIMIT 1[0m [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Subscription Load (0.1ms)[0m [1mSELECT "commontator_subscriptions".* FROM "commontator_subscriptions" WHERE "commontator_subscriptions"."subscriber_id" = 5 AND "commontator_subscriptions"."subscriber_type" = 'DummyUser' AND "commontator_subscriptions"."thread_id" = 4 LIMIT 1[0m Redirected to http://test.host/dummy_models/4 Completed 302 Found in 4ms (ActiveRecord: 0.3ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36mDummyModel Load (0.1ms)[0m [1mSELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1[0m [1m[35mCommontator::Thread Exists (0.1ms)[0m SELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[35mDummyModel Load (0.1ms)[0m SELECT "dummy_models".* FROM "dummy_models" WHERE "dummy_models"."id" = 4 LIMIT 1 [1m[36mCommontator::Thread Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "commontator_threads" WHERE ("commontator_threads"."commontable_id" = 4 AND "commontator_threads"."commontable_type" = 'DummyModel') LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "commontator_threads" ("closed_at", "closer_id", "closer_type", "commontable_id", "commontable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["closed_at", nil], ["closer_id", nil], ["closer_type", nil], ["commontable_id", 4], ["commontable_type", "DummyModel"], ["created_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00], ["updated_at", Sat, 13 Jul 2013 01:20:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction